Skip to main content
Glama

List cancellation policies

list_cancellation_policies
Read-onlyIdempotent

List the business's cancellation policies with their refund steps, handling fee, deposit rule, a plain-language summary, and which one is the business default.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_cancellation_policies"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
business_idNoThe id of the business to act on, from list_businesses. Optional when this connection covers a single business.

Output Schema

NameRequiredDescriptionDefault
totalYes
policiesYes
default_policy_idYes
selected_businessYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "maximum": 50,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "default_policy_id": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "policies": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "selected_business": {
      +      "type": "object"
      +    },
      +    "total": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "selected_business",
      +    "policies",
      +    "total",
      +    "default_policy_id"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

B3/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered. The description's added value is naming the fields each policy carries, but it says nothing about pagination behavior, ordering, empty results, or authorization requirements beyond the schema-level business_id note.

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?

A single front-loaded sentence with no filler; the field enumeration is informative rather than redundant. It is slightly list-heavy but every clause earns its place.

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

Completeness3/5

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

An output schema exists, so return-value structure needn't be spelled out, and annotations cover the safety profile. Still missing for a paginated, optionally business-scoped list tool: any mention of paging (limit/offset), default page size, or ordering, which leaves the agent to infer invocation behavior.

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

Parameters2/5

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

Schema description coverage is only 33% — only business_id is documented, and that documentation lives in the schema rather than the description. The description adds no meaning for limit or offset (page size bounds, paging semantics), so it fails to compensate for the coverage gap.

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?

Uses a specific verb+resource ('List the business's cancellation policies') and goes further by enumerating the payload fields: refund steps, handling fee, deposit rule, plain-language summary, and default flag. An agent can distinguish this from upsert_cancellation_policy purely on the read-only listing framing, though the description never states that contrast itself.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no statement of prerequisites, and no routing to alternatives or to the create/update counterpart. Nothing tells the agent when this listing is the right call versus fetching a single policy, nor how pagination should be driven.

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