Skip to main content
Glama

Annulla un noleggio

rentme_cancel_rental

Annulla per conto della persona un noleggio richiesto con rentme_book_thing. Gratis prima del pagamento. Dopo il pagamento: fino a 24 ore prima della consegna rimborso meno il 3% di spese (min 1 EUR); a meno di 24 ore nessun rimborso. Chiedi conferma alla persona prima di annullare.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesId del noleggio
codice_accessoYesCodice di accesso restituito da rentme_book_thing

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden, and it delivers: refund policy with the 3% fee (min 1 EUR), the 24-hour cutoff, and the consent requirement. It stops short of stating irreversibility or failure modes (e.g., invalid access code).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first clause, followed by an efficient sequence of refund rules and the confirmation instruction. Dense but every sentence carries policy or action value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description covers price/cost consequences, timing thresholds, and the consent prerequisite. Only error handling and explicit irreversibility are omitted.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% (both id and codice_accesso documented), so the schema already does the work; the description adds no extra detail about parameter format or where the access code comes from beyond the schema's own note.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Annulla/cancel) and resource (noleggio/rental), and explicitly ties the target to its origin tool rentme_book_thing, distinguishing it from siblings like rentme_check_rental_status or rentme_book_thing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear conditional context: free before payment, partial refund up to 24h before delivery, no refund under 24h, and requires person confirmation before cancelling. It does not, however, point to an alternative tool or state when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources