Skip to main content
Glama

Cancel a subscription

agentwares_cancel_subscription

Stop renewals for a monthly subscription. Access continues until the current period ends.

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": {
      "entitlement_id": "<entitlement_id>"
    },
    "name": "agentwares_cancel_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour Agentwares API key. Optional when the MCP connection already sends an Authorization: Bearer header.
entitlement_idYesId from agentwares_library (ent_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose a genuinely non-obvious trait that access continues until the current period ends, which is valuable. However, it omits whether cancellation is reversible, whether any proration/refund occurs, how billing is affected, and what result is returned, which are important gaps for a mutating operation.

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?

Two short sentences, front-loaded with the action and immediately followed by the most consequential side effect. No filler or repetition of the name.

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 two-parameter tool with a fully documented schema and no output schema, the description covers what to do and the main user-visible consequence. It falls just short on error/edge behavior (already cancelled, invalid id) for a mutation lacking annotations.

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 coverage is 100%, so baseline is 3; both parameters (api_key, entitlement_id) are already documented with format hints in the schema. The description adds no meaning beyond that, not even confirming that entitlement_id identifies the subscription being stopped.

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?

"Stop renewals for a monthly subscription" names a specific action and a precise effect rather than a generic "cancel" operation, and the resource is clearly distinct from siblings like agentwares_purchase or agentwares_library. No sibling offers a competing cancellation path, so no explicit contrast is needed.

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

Usage Guidelines3/5

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

Intended usage is implied by the verb and resource, but there is no explicit statement of preconditions (must own an active subscription), no guidance for already-cancelled subscriptions, and no alternatives mentioned. An agent can infer when to call it, but nothing is spelled out.

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