Skip to main content
Glama

Ask the person to upload documents

request_documents

Show an Upload button for a registration's documents (passport photo, NIN slip, signature, and a supporting document if CAC's name check asked for one). Without document_types it asks for every required document still missing or failed; name document_types to ask for specific ones again (e.g. CAC queried the passport photo). Files never pass through you; each verdict arrives as a system event.

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": {
      "business_id": "<business_id>"
    },
    "name": "request_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
business_idYes
document_typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, it discloses the two behaviors an agent most needs: files never pass through the agent, and each verdict arrives later as a system event. That correctly frames the call as an asynchronous request to a human rather than a synchronous data fetch, which complements the non-readonly, non-idempotent hints.

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?

Front-loaded with the action, then the default/override semantics, then the async behavior note. The parenthetical document list is dense but earns its place by mapping to the enum; a slightly tighter phrasing of the example would remove the only fat.

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 usefully explains that results arrive out-of-band as system events, so nothing is missing about return values. Only minor gaps remain: what business_id refers to and what the agent should do after the request is shown.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry the load, and it does for document_types: the default (all missing/failed) versus explicit re-request semantics and typical reasons for each. The enum values (means_of_id, supporting_doc) are referred to loosely as 'NIN slip' and 'supporting document', and business_id is never explained, leaving a small mapping gap.

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 concrete action (show an Upload button to request documents for a registration) and enumerates exactly which document kinds are involved. It is clearly distinguishable from read-only siblings like get_cac_documents or recheck_documents, since this one solicits new uploads from the person.

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?

Explicitly distinguishes the two calling modes: omit document_types to request everything still missing or failed, or name specific types to re-request them (with a CAC-query example). It stops short of naming siblings such as recheck_documents, so the agent must infer when to re-verify rather than re-request.

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