Skip to main content
Glama

Emendas parlamentares do Brasil

Ativar passe

ativar_acesso
Read-onlyIdempotent

Confere o pagamento de uma fatura gerada por comprar_acesso e devolve o token de acesso de 24 horas.

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": {
      "fatura_id": "<fatura_id>"
    },
    "name": "ativar_acesso"
  }
}

Input Schema

NameRequiredDescriptionDefault
fatura_idYesFatura Lightning (BOLT11) devolvida por comprar_acesso, depois de paga

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / fatura_id / description
      Added value: +"Fatura Lightning (BOLT11) devolvida por comprar_acesso, depois de paga"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered; the description adds the important behavioral detail that the result is an access token with a 24-hour lifetime, which an agent could not infer from annotations and which has no output schema to convey it. The gap is that it doesn't say what happens when payment isn't confirmed yet (error vs. pending state, whether to retry).

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 sentence, front-loaded with the action and finished with the outcome. Nothing is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter tool with no output schema, the description does the essential work: it explains the input's origin and the nature of the return value (24-hour token). What it omits is the failure/pending path for an unpaid invoice, which matters for an open-world payment-verification tool and leaves the agent guessing about retries or polling.

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% and the single parameter already documents that fatura_id is the BOLT11 invoice from comprar_acesso after payment. The description reinforces the provenance of the invoice but adds no syntactic or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb pair ("Confere o pagamento" / "devolve o token") and a concrete resource (fatura gerada por comprar_acesso), so the agent knows this verifies payment and issues a 24-hour token. It also anchors itself to the sibling comprar_acesso, distinguishing the activation step from the purchase step. It stops short of a full contrast with alternatives, but the operation is unambiguous.

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?

Usage is implied through the dependency on comprar_acesso (an invoice generated there), which effectively tells the agent this is the follow-up step after purchasing. However, it never states the precondition explicitly ("only after payment is made") nor what to do when the invoice is unpaid or still pending, which is the main decision point for this tool.

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.