Tool reference
Tool annotations Read-only and destructive hints
Every Xale tool carries MCP annotations that tell your client whether it only reads, whether it can overwrite, and whether repeating it is safe.
The four hints
| Hint | True for |
|---|---|
readOnlyHint | The 27 read tools, including Now and Draw a Mindmap. |
destructiveHint | Most “change” tools (the exceptions are under the table), plus xale_ (a correction can replace your latest entry), xale_ (it replaces earlier answers) and xale_. |
idempotentHint | Reads, and creates: the same requestId gives the same result. |
openWorldHint | Never: every tool works only inside the person's Xale. |
destructiveHint is false for xale_ (a preview), xale_ and xale_ (a setting), xale_ (nothing is removed) and xale_ (it creates).
What to do with the hints
The hints are advice to your client. Xale doesn't enforce anything from them: what holds is the permission the person ticked, their yes in the chat, and the two steps of a removal.
| Hint | What to do |
|---|---|
readOnlyHint: true | Safe to call, and to call again if it fails: it changes nothing. |
destructiveHint: true | It changes or replaces something that already exists. Say what will change and wait for the person's yes first. Your client may also ask them to approve the call. |
destructiveHint: false | Not a licence to skip the ask. Xale's instructions say to save only after the person says yes, for every kind of write. |
idempotentHint: true on a create | Retry with the same requestId and you get the first result back. See Request ids · safe retries. |
idempotentHint: false | If a call fails with “Xale couldn't confirm that this finished”, read with the matching read tool before you try again. |
Icons
Every tool, and the server itself, carries Xale's icon at 192, 256 and 512 px.
- Checked against main
c1725f34