Skip to main content
Glama

Cancel intake link

cancel_intake_link
Destructive

Cancels an unpaid intake link: expires its Clio payment link and ends the client's sign-in (an unsigned agreement is withdrawn). A first call returns a preview; a second call with confirm true and that preview_id applies the change. Sign-in required.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "short_id": "<short_id>"
    },
    "name": "cancel_intake_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNofalse or omitted returns a preview; true applies the change identified by preview_id.
short_idYesshort_id from list_intake_links or create_intake_link.
preview_idNopreview_id is the id returned by this tool's preview call. Required when confirm is true.
idempotency_keyNoOptional. A retry with the same key returns the first result without a second write. Defaults to preview_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "false or omitted returns a preview; true applies the change identified by preview_id.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Optional. A retry with the same key returns the first result without a second write. Defaults to preview_id.",
      +  "type": "string"
      +}
    • addedInput schema / properties / preview_id
      Added value: +{
      +  "description": "preview_id is the id returned by this tool's preview call. Required when confirm is true.",
      +  "type": "string"
      +}
    • addedInput schema / properties / short_id
      Added value: +{
      +  "description": "short_id from list_intake_links or create_intake_link.",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "short_id"
      +]
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description goes well beyond them by disclosing exactly what is destroyed (payment link expired, sign-in terminated, unsigned agreement withdrawn), that a preview gate precedes the write, and that sign-in is required. The preview_id/confirm choreography is the key safety behavior an agent needs and it is spelled out.

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?

Three tight sentences with zero filler, front-loading what is cancelled and what it destroys before the two-step protocol and the auth note. Every clause carries operational information.

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 destructive, no-output-schema tool with full parameter documentation, the description covers effects, the confirm gate, and the auth prerequisite, leaving nothing an agent needs to call it correctly. The preview/confirm pattern is the main complexity and it is fully explained.

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

Parameters4/5

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

Schema coverage is 100% so per-parameter meaning is already documented, but the description adds workflow-level semantics the schema cannot: which call returns the preview, and that preview_id from that first call is what confirm=true consumes. It does not explain the idempotency_key fallback-to-preview_id behavior, which the schema covers instead.

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 and resource (cancel an unpaid intake link) and enumerates the concrete effects: expiring the Clio payment link, ending the client's sign-in, withdrawing an unsigned agreement. The word 'unpaid' scopes it precisely, so an agent can tell it apart from resend_intake_link or list_intake_links without opening any schema.

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 context for use (unpaid links only) and describes the two-call protocol: first call previews, second call with confirm=true plus the preview_id applies. It does not explicitly name a sibling alternative or state when-not-to-use (e.g., what to do for an already-paid link), which keeps it short of a 5.

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