loan_cancel
Cancel one of your OPEN paper loan offers and get the locked amount back (wallet token).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| token | No |
Cancel one of your OPEN paper loan offers and get the locked amount back (wallet token).
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| token | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are supplied, so the description carries the full burden; it does disclose the key consequence — the locked amount is returned to the wallet token — which is genuine behavioral value. It does not say whether cancellation is reversible, what happens to partially filled offers, or what a failed cancel returns, which matters for a mutation tool with zero annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with the outcome stated inline in parentheses; nothing is redundant. The parenthetical '(wallet token)' is a little terse but avoids a second sentence.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a two-parameter state-changing tool with no output schema, the definition covers purpose and the refund effect but leaves preconditions (must the offer be fully unfilled?), failure modes, and parameter formats undocumented. Enough to attempt the call, not enough to predict the outcome in edge cases.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must carry parameter meaning. It does explain 'token' as the wallet token destination for the refund, and 'one of your OPEN ... offers' implies 'id' identifies the offer, but neither parameter is described explicitly and the schema's own bare 'integer'/'string' types add nothing.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Names a specific verb (cancel) and resource (paper loan offer) plus two scoping constraints: the offer must be yours and must be OPEN. The phrase 'your OPEN paper loan offers' implicitly separates it from loan_take (taking someone else's offer) and loan_repay, though no sibling is named directly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The word 'OPEN' implies a precondition for use (only unfilled/cancellable offers), and 'your' implies an ownership restriction, but neither is stated as an explicit rule. There is no guidance on what to do if the offer is already taken, or on how this relates to loan_take/loan_repay.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.