Skip to main content
Glama

hivecloud_get_mdfe

Read-onlyIdempotent

Detalha um MDF-e pelo id: placa do veículo (dadosVeiculo), condutores (nome/CPF), CIOT, documentos vinculados (chaves de CT-e/NF-e), UFs, valor e peso da carga, status e protocolos. A listagem não traz esses campos, só o detalhe. Exige mdfe_tenant_id na conexão.

Bulk support: accepts ids, empresa_ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
idsNo
accountNo
empresa_idNo
empresa_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only and idempotent behavior, and the description adds value by clarifying the returned fields (e.g., vehicle data, drivers) and the tenancy requirement. It also notes bulk execution capability. This goes beyond the annotations, providing useful behavioral context without contradiction.

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?

The description is exceptionally concise: two sentences in the first paragraph and one in the second. Every sentence serves a purpose: the first list fields and differentiates from listing, the second covers the prerequisite and bulk support. No fluff, front-loaded, and well organized.

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 get-by-id tool, the description provides a complete picture: it lists the output fields, notes the prerequisite, and explains bulk behavior. Combined with annotations that establish safety, this is sufficient. Without an output schema, listing the fields is helpful, though it could also mention response format, but it's not critical here.

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?

With 0% schema description coverage, the description must explain all parameters. It does clarify 'id' as the main identifier and mentions 'ids' and 'empresa_ids' for bulk, but it does not explain 'account' or 'empresa_id' at all. This partial explanation leaves ambiguity for some parameters, so it is only minimally adequate.

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 explicitly states the tool details an MDF-e by id and enumerates the exact fields returned, such as vehicle plate, drivers, CIOT, linked documents, UFs, value/weight, and status. It distinguishes itself from the listing tool by noting that the listing does not contain these detailed fields, and it mentions bulk support, making its purpose unmistakable.

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?

The description implies usage context by noting that listing lacks the detailed fields, so this tool is for when you need that detail. It also states a prerequisite (mdfe_tenant_id in the connection) and explains bulk support. However, it does not explicitly name alternative tools like hivecloud_list_mdfes, though the implication is clear enough.

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.