Skip to main content
Glama

Get cancellation terms

get_cancel_info
Read-onlyIdempotent

Retrieve cancellation terms before canceling a claim. Know if cancellation is free, paid, or unavailable, including any applicable fees.

Instructions

Cancellation terms for a claim — call BEFORE cancel_claim. Returns cancel_state: free (free of charge), paid (a fee applies — price/price_with_vat and currency are returned) or unavailable (the claim can no longer be cancelled).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
claim_idYesClaim id (claim_id, 32–64 characters) from the create_claim or search_claims response.
Behavior4/5

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

Annotations already declare read-only, idempotent, and non-destructive behavior, so the description wisely adds domain semantics instead of restating safety. It explains the three cancel_state outcomes and the fee-related fields, which is valuable beyond annotations.

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

Conciseness5/5

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

The description is two sentences, front-loaded with the purpose and sequencing instruction, followed by a compact but complete summary of return states. Every sentence earns its place with zero filler.

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

Completeness5/5

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

For a single-parameter, read-only lookup with no output schema, the description fully covers the return semantics and the cancellation precondition. It provides enough information for an agent to invoke and interpret the tool correctly.

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?

The sole parameter claim_id is fully described in the schema with source and format details, so the description does not need to repeat it. The tool description adds no extra parameter-level meaning, but schema coverage is 100%, warranting the baseline score.

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

Purpose4/5

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

The description clearly identifies the tool as providing cancellation terms for a claim and explicitly relates it to cancel_claim, distinguishing its role. Although it lacks a direct verb like 'retrieve', the return-state explanation makes the purpose unambiguous.

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?

The description explicitly states to call BEFORE cancel_claim, establishing a clear usage context. It does not enumerate alternative tools, but the pre-cancellation position is sufficient guidance for when to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/A1-x-Tech/mcp-yango-delivery'

If you have feedback or need assistance with the MCP directory API, please join our Discord server