Skip to main content
Glama
Mestre Prático & NutriPreço Official MCP Server

Mestre Prático & NutriPreço Official MCP Server

brazil_contract_intent_a2a

Idempotent

Issues and verifies cryptographically signed A2A economic intent contracts with ES256 and SHA-256 digests, using Brazilian ANP/CMED/SEFAZ benchmarks for autonomous procurement agents.

Instructions

Issues and verifies cryptographically signed Machine-to-Machine (A2A) Economic Intent Protocols with ES256 (ECDSA P-256) digital signatures (RFC 7515) and canonical SHA-256 digests (RFC 8785). Enables autonomous enterprise agents (fleet management bots, hospital procurement systems, wholesale supply coordinators) to formalize procurement intent parameters with official ANP/CMED/SEFAZ regulatory benchmarks. Verifiable via https://mestrepratico.com.br/.well-known/jwks.json and /api/a2a/verify. Includes automated sandbox evaluation mode for test agents.

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": {
      "tipo_operacao": "<tipo_operacao>",
      "uf": "<uf>"
    },
    "name": "brazil_contract_intent_a2a"
  }
}

Input Schema

NameRequiredDescriptionDefault
ufYesTwo-letter Brazilian state code where procurement will take place (e.g., 'rj', 'sp', 'mg', 'ba', 'pe'). Defaults to 'rj'.rj
cidadeNoTarget Brazilian municipality or distribution hub (e.g., 'Cabo Frio', 'Sao Paulo', 'Recife', 'Rio de Janeiro'). Defaults to 'Cabo Frio'.Cabo Frio
tipo_operacaoYesEconomic procurement category for the machine intent contract: 'abastecimento_frota' (fleet refueling), 'cesta_basica_atacado' (wholesale food baskets), 'dispensacao_farmaceutica' (pharmaceutical supply), 'auditoria_tributaria' (tax audit certification). Defaults to 'abastecimento_frota'.abastecimento_frota
item_especificoNoSpecific commodity code, fuel type (e.g., 'diesel_s10', 'gasolina'), or active pharmaceutical ingredient (e.g., 'losartana'). Defaults to 'diesel_s10'.diesel_s10
volume_estimadoNoEstimated procurement volume in liters (for fuels), units (for food baskets), or packages (for medicines). Defaults to 500.
agente_solicitante_idNoUnique identifier or public key of the requesting partner AI agent or automated fleet bot. Defaults to 'FleetBot-Logistica-01'.FleetBot-Logistica-01

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true, idempotentHint=true, destructiveHint=false, and readOnlyHint=false, so the agent knows this mutates/creates an external artifact. The description adds genuinely useful context beyond that: the signing algorithm, canonicalization standard, public JWKS and verify endpoints for third-party validation, and an automated sandbox evaluation mode. It does not disclose what the issued artifact looks like, whether signing requires prior agent registration or credentials, or any rate limits, which is a real gap absent an output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action is front-loaded in the first clause, which is correct. However, the text is dense with stacked parentheticals (RFC 7515, RFC 8785, ES256/ECDSA P-256, ANP/CMED/SEFAZ) and an illustrative list of customer types that consume attention without changing how the tool is called. Raw endpoint paths are included but their role is only loosely explained, so some sentences do not fully earn their place.

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 six-parameter, externally-visible creation tool with no output schema, the definition covers the signing stack and verification path but says nothing about the returned payload, invocation prerequisites, or failure modes. The mention of 'automated sandbox evaluation mode' is left unexplained, which is problematic for an agent deciding between test and real issuance. It is adequate but leaves clear gaps an agent would need to probe.

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%, with per-field descriptions, enums, and defaults already documenting all six parameters, so the schema carries the semantics. The description only refers generically to 'procurement intent parameters' and adds no meaning about how uf, cidade, tipo_operacao, or volume_estimado influence the signed contract. Baseline 3 applies where the schema does all the work.

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?

The description states a concrete verb pair (issues and verifies) against a concrete resource (signed A2A Economic Intent Protocols) and names the standards used (ES256/RFC 7515, SHA-256/RFC 8785). An agent can tell this is a contract/attestation generator rather than a data lookup, distinguishing it from the brazil_* price and index siblings, though it never explicitly names a sibling. The heavy jargon slightly obscures the plain purpose.

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 only implied through the audience description ('autonomous enterprise agents ... formalize procurement intent parameters'), which suggests when the tool is relevant but gives no explicit trigger conditions. There are no statements about when NOT to use it, no prerequisites, and no comparison to alternatives such as brazil_fuel_prices or brazil_pharma_medicines that supply the underlying benchmark data. The sandbox mention hints at a test-vs-production split but does not explain how to select it.

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