Read-only tools #398
Closed
guidodecaso
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
This is available in the spec within ToolAnnotations. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Your Idea
Would be good if MCP tool lists would include metadata about which tools are read-only and which ones are not. For example: a tool that reads all the events in a calendar is read only. A tool that creates a new event is not.
Not having this information is a step back from pure HTTP, in which some verbs are safe to retry or cache, while others are not.
Example request:
Example response:
For backwards compatibility, we could assume that a missing
readOnly
property would be treated asfalse
. In other words, if it doubt then assume that the tool will produce a change in the world and will not be safe to retry/cache/etc...Scope
Beta Was this translation helpful? Give feedback.
All reactions