Skip to main content
Glama

Recuperar cálculo do Projef

projef_recuperar
Read-onlyIdempotent

Retrieve a previously calculated Projef Web result by its identifier and return structured data, optional full text, and the PDF link without creating a new calculation.

Instructions

Lê um cálculo já feito no Projef Web a partir do identificador (válido por 3 anos) e devolve os mesmos dados estruturados e o link do PDF de projef_calcular. Não cria cálculo novo nem abre navegador. Para fazer um cálculo novo, use projef_calcular.

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": {
      "identificador": "<identificador>"
    },
    "name": "projef_recuperar"
  }
}

Input Schema

NameRequiredDescriptionDefault
incluir_pdfNoAnexar também o PDF (até 90 KB)
identificadorYesIdentificador do cálculo, impresso no rodapé do PDF do Projef (ex.: 544240e0)
incluir_textoNoIncluir o texto integral do demonstrativo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered; the description adds real value on top by disclosing that the identifier is valid for 3 years, that no browser session is opened, and that the output mirrors projef_calcular. It does not say what happens with an expired or invalid identifier, which keeps it short of a 5.

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?

Three short sentences, front-loaded with what the tool does, followed by the negative scope and the explicit alternative. Every sentence carries distinct information and nothing is repeated.

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 no output schema, the description carries the burden of describing returns and does so at a high level (same structured data plus PDF link as projef_calcular). What "dados estruturados" actually contains is left implicit, but the retrieval model, scope and identifier lifetime are all covered.

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 each parameter including the identifier pattern and the two optional flags is already documented. The description adds only the 3-year validity of the identifier and the existence of a PDF link, but never explains incluir_pdf or incluir_texto beyond what the schema says, so the baseline 3 applies.

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?

States a specific verb and resource ("Lê um cálculo já feito no Projef Web a partir do identificador") and immediately distinguishes itself from projef_calcular by noting it returns the same data without creating anything. An agent can tell the two apart without opening either schema.

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

Usage Guidelines5/5

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

Explicit routing: use this tool to recover an existing calculation, and "Para fazer um cálculo novo, use projef_calcular." It also states what it does not do ("Não cria cálculo novo nem abre navegador"), which removes the main ambiguity versus the sibling.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools