https://linen.dev logo
Is there a way to see if a tool is readonly?
# 🖥│support-forum
j
MCP supports readOnlyHint within annotations, which allows you to determine whether, if set to true, the tool does not modify its environment. Is there a way to determine whether a tool within Composio is read-only (i.e. only retrieving information) or actually changing the environment (e.g. updating or writing data)? That would be quite important to us, since in our UI these tools are used differently and shown in different places. https://modelcontextprotocol.io/docs/concepts/tools#tool-definition-structure
c
We’ve begun integrating annotation support within MCP and are progressively rolling it out across all supported apps. For example, in the Gmail MCP tool, a specific action includes annotations such as
destructiveHint: true
and
readOnlyHint: false
, reflecting that the action modifies its environment. https://cdn.discordapp.com/attachments/1397501234579112008/1397540544317620326/Screenshot_2025-07-23_at_4.55.04_PM.png?ex=6882188e&is=6880c70e&hm=8df951d2b648df46e0ba5223a040125f8f36dbf68140bc90107204fe13d65058&