Skip to main content
Glama

Undo an automatic Widely data pack

undo_auto_pack
Idempotent

Undo a pack that was added automatically: within 24 hours of buying it and with under 10 MB used, it is refunded in full and removed. Otherwise there is no refund. Without confirm it shows the plan.

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": {
      "purchase_id": "<purchase_id>"
    },
    "name": "undo_auto_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoUndoes the pack.
purchase_idYesThe pack's purchase id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, but the description adds crucial behavior: the 24-hour/10 MB refund rule, that removal is conditional on it, and that without confirm it only shows the plan (dry-run preview). That is meaningful beyond the annotations, though it doesn't say whether removal is reversible.

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?

One compact paragraph front-loads the refund conditions, then the no-refund case, then the confirm behavior. No filler.

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 2-parameter mutation with no output schema, the description covers consequences and the preview mode well. It leaves out what the returned plan contains and whether removal is permanent, minor gaps.

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 parameters are already documented. The description still adds critical semantics: confirm triggers the actual undo while omitting it yields a read-only plan preview. That ambiguity resolution exceeds the schema's 'Undoes the pack.'

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 (undo) and resource (automatically added Widely data pack), plus the exact refund conditions (within 24 hours, under 10 MB used). An agent can immediately tell this reverses an auto-purchase, distinct from buy_widely_pack or set_auto_pack.

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?

Clearly implies when to use: to reverse an auto-added pack, and it discloses the refund/no-refund branch. It doesn't explicitly name a sibling alternative or say when-not-to-use (e.g., manually purchased packs), but the context is clear.

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.