Skip to main content
Glama

Emendas parlamentares do Brasil

Comprar passe de 24 h

comprar_acesso

Gera uma fatura Lightning para um passe de 24 horas às ferramentas pagas. Pague a fatura e depois chame ativar_acesso com o id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "comprar_acesso"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare this is a non-readOnly, non-idempotent, open-world operation, so the safety bar is partly covered. The description adds that the output is a payable Lightning invoice and that activation is a separate step, but omits the price, invoice expiry, and whether repeated calls spawn duplicate invoices — relevant for a non-idempotent purchasing tool.

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 followed by the required next step. No filler and no redundancy.

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?

With no output schema, the description carries the burden of telling the agent what comes back; it implies an invoice/id but never states the price, currency, or expiration the agent would need to act. For a paid, open-world purchasing tool this leaves a meaningful gap, though the core call-and-follow-up loop is complete.

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?

There are zero input parameters, so the baseline is 4; the schema provides nothing to clarify. The description sensibly explains the only data dependency — that the 'id' produced here is fed into ativar_acesso — rather than describing nonexistent parameters.

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?

The description names a specific verb and artifact ('Gera uma fatura Lightning') plus the resource ('passe de 24 horas às ferramentas pagas'), and explicitly separates this tool from the sibling ativar_acesso by positioning it as the preceding step.

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?

It gives an explicit workflow: generate the invoice, pay it, then call ativar_acesso with the id. That is clear when-to-use guidance and effectively routes the agent to the sibling. It stops short of stating any precondition/failure case (e.g. what to do if an invoice already exists).

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.