Skip to main content
Glama

Dilligence — certidões de empresas

upload_document

Anexa um arquivo (PDF, PNG, JPG) a um item, por file_url ou content_base64. PDFs de certidão são lidos (resultado, validade, código).

Input Schema

NameRequiredDescriptionDefault
item_idYes
file_urlNo
filenameNo
diligence_idYes
content_base64No

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that PDFs of certidões are parsed and yield resultado/validade/código, but says nothing about permissions, size limits, duplicate handling, overwrite behavior, or failure modes for a mutation tool.

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

Conciseness4/5

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

Two compact sentences with the core action and the parsing side-effect front-loaded. Each sentence earns its place, though the parsing note could be tightened.

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?

The description partially offsets the rich-but-undocumented schema by naming formats and hinting at extracted certidão fields. Still missing: parameter roles, required-vs-optional expectations, and any indication of what is returned on success or failure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate for five undocumented parameters. It only clarifies the file_url/content_base64 choice implicitly; item_id, diligence_id and filename are entirely unexplained, as is whether the two source params are mutually exclusive.

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 ('Anexa um arquivo') and resource (file to an item), plus accepted formats and the two upload channels. It does not differentiate itself from the sibling 'add_document', which an agent could easily confuse with an upload tool.

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

Usage Guidelines2/5

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

No guidance on when to use this versus 'add_document', 'read_document', 'match_documents' or 'export_documents'. The choice between file_url and content_base64 is stated as an option but with no conditions for picking one.

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.

Resources