Skip to main content
Glama

Tv pass

tv_pass

Buy a TV pass for 2 devices: 3.00 USDC for 30 days, 7.50 for 90 or 19.90 for 365. No automatic renewal. A 402 uses x402 on Base; repeat the same call with PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1). The shared ledger records the attempt, payment and entitlement. The code identifies the TV device, with the network as fallback. A verified payer account groups its devices. A full account receives an authorization code before payment. Reusing the receipt does not buy another pass.

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": {
      "codigo": "<codigo>"
    },
    "name": "tv_pass"
  }
}

Input Schema

NameRequiredDescriptionDefault
planoNoThe pass period; without it, 30 days.
codigoYesSix digits shown in the TV notice; valid for ten minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed1 schema field changed
    • addedInput schema / properties / plano
      Added value: +{
      +  "description": "O prazo do passe; sem ele, 30 dias.",
      +  "enum": [
      +    "mes",
      +    "trimestre",
      +    "ano"
      +  ],
      +  "type": "string"
      +}
  4. Added

TDQS

A4.2/5.0
Behavior5/5

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

With only minimal annotations (readOnlyHint false, idempotentHint false, destructiveHint false), the description carries the burden well: it discloses billing terms, no automatic renewal, the x402-on-Base payment protocol with header-version details, that a shared ledger records attempt/payment/entitlement, and the authorization-code prerequisite for full accounts. The receipt-reuse clause adds an idempotency nuance beyond the annotation without directly contradicting it. Remaining gaps (e.g. output shape after purchase) are minor.

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?

Purpose and pricing are front-loaded, and every sentence carries information with no filler. However, the latter half is a scattered string of short assertions ('The shared ledger records...', 'A verified payer account groups its devices', 'A full account receives an authorization code...') whose ordering and phrasing ('The code identifies the TV device, with the network as fallback') make some statements hard to parse on first read.

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 payment tool with full schema coverage, no output schema, and thin annotations, the description supplies the payment flow, failure handling, and entitlement semantics an agent needs. It could go further on what a successful purchase returns and on error cases beyond 402, but nothing essential is missing.

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 the baseline is 3; the description adds value by mapping the price tiers to durations (30/90/365 days), which implicitly explains the 'mes/trimestre/ano' enum values. It also adds context on 'codigo' (device identification with network fallback) that the schema only partially conveys as 'six digits shown in the TV notice'.

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?

Opens with a concrete verb and resource: 'Buy a TV pass for 2 devices', plus pricing tiers, so the agent knows exactly what the tool does and at what cost. It never explicitly contrasts itself with the sibling chat_pass or tv_state, so sibling differentiation is left implicit in the 'TV' scope and the device count rather than stated.

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 operational guidance: call it to buy a pass, and if a 402 is returned, repeat the same call with PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1). It also states one negative case ('Reusing the receipt does not buy another pass'), but it never names an alternative tool or says when a different pass product (e.g. chat_pass) is the right choice.

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.