Skip to main content
Glama

Check cancellation penalty

cancellation_penalty
Read-onlyIdempotent

Evaluate whether cancelling a US consumer subscription incurs a penalty or lock. Returns UNKNOWN when billing cadence is required or the policy needs manual review.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planYesPlan type. Currently only 'individual' plans are supported.
regionYesRegion code. Currently only 'US' is supported.
vendorYesVendor identifier (lowercase, underscore-separated).
billing_cadenceNoRequired when the vendor applies different cancellation terms to monthly and annual plans.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
policyNo
vendorNo
messageYes
penaltyNo
verdictYes
notice_daysNo
source_hashNo
evaluated_atNo
rules_versionNo
policy_versionNo
billing_cadenceNo
rulebook_resultNo
required_contextNo
policy_source_urlNo
policy_last_checkedNo
policy_source_notesNo
policy_last_verified_utcNo

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already indicate read-only, idempotent, non-destructive behavior. Description adds value by stating the UNKNOWN return condition when billing cadence is needed or manual review is required, which is a key behavioral trait.

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 concise sentences with no wasted words. The key information is front-loaded and every sentence adds value.

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?

With an output schema present, description does not need to cover return format. It covers core purpose and an important edge case (UNKNOWN). Adequate for a tool with 4 parameters and clear 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 description coverage is 100%, so the schema already documents parameters well. Description adds marginal value by linking billing_cadence to the UNKNOWN return, but does not significantly enhance parameter understanding beyond schema.

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?

Description clearly states the tool evaluates cancellation penalties for US consumer subscriptions and mentions an UNKNOWN return case. It does not explicitly differentiate from sibling tools, but the purpose is specific enough.

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?

No explicit guidance on when to use this tool vs alternatives (refund_eligibility, return_eligibility, trial_terms). The mention of billing cadence requirement is mild usage context but not a clear guideline.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool evaluates a distinct policy aspect (cancellation penalty, refund, return, trial terms) with no overlap.

Naming Consistency5/5

All names follow a consistent snake_case pattern with a clear noun_qualifier structure (e.g., cancellation_penalty).

Tool Count5/5

Four tools is well-scoped for evaluating core subscription policies without redundancy.

Completeness4/5

Covers cancellation, refund, return, and trial policies comprehensively, though minor gaps like modification policies exist but are outside scope.