verify_tool_descriptor
Verifies MCP tool descriptors by hashing and comparing against an approved baseline, alerting on any change to prevent post-approval drift attacks.
Instructions
Capability 1 + 2: hash an MCP tool descriptor (Q3 semantics — full descriptor INCLUDING protocolVersion) and compare against the user-approved baseline. Returns the current hash and a change_detected flag. Hosts SHOULD call this before forwarding a tool call to detect post-approval descriptor drift (tool poisoning / rug pull defense per arXiv:2512.06556).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| descriptor | Yes | ||
| baseline_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||