Skip to main content
Glama

Antevo Mandates

upload_document

Initialize a document record. domain: WEALTH, TAX, LEGAL, COMPLIANCE, PERSONAL. category: STATEMENT, TAX_RETURN, WILL, TRUST_DEED, INSURANCE, CONTRACT, ID, OTHER. If base64_content is provided, the document blob is stored. Otherwise returns a doc_id for separate upload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYes
confirmNo
categoryYes
file_nameYes
descriptionNo
household_idYes
base64_contentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the important write behavior: what gets stored when base64_content is present and what is returned otherwise. However, it never explains the 'confirm' boolean parameter, which strongly suggests a confirmation or dry-run semantic that an agent needs to understand before writing, and it says nothing about permissions or side effects.

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?

Dense and front-loaded: the core action comes first, followed by the enumerated values and the conditional storage behavior. The enum lists consume space but are necessary since the schema lacks them.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with zero annotations and 0% schema coverage, key operational details are missing: what household_id scopes, what confirm does, and whether a call without base64 leaves a dangling placeholder record. Only the output-schema-adjacent detail (doc_id) is 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 description coverage is 0%, so the description must compensate. It does supply the allowed values for domain and category (which the schema does not enumerate) and explains base64_content's dual behavior, but household_id, file_name, description, and confirm remain completely undocumented across four of seven parameters.

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 specific action (initialize a document record) plus the conditional blob-storage behavior, which lets an agent distinguish it from get_document_detail, update_document, and list_documents. It never names a sibling explicitly, and the verb 'Initialize' is slightly at odds with the tool name upload_document, but the overall intent is unambiguous.

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?

It implies two invocation modes (inline base64 vs. two-step doc_id upload), which is useful usage context, but it gives no guidance on when this should be used instead of update_document or extract_document_data, and no prerequisites or exclusions are stated.

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.