Skip to main content
Glama

Create grant document

create_grant_document

Register a document already uploaded to storage against a grant (file bytes must already exist in the grant-documents-equivalent bucket).

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": {
      "grant_id": "<grant_id>",
      "file_name": "<file_name>",
      "file_path": "<file_path>"
    },
    "name": "create_grant_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
grant_idYes
file_nameYes
file_pathYes
file_sizeNo
mime_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world mutation. The description adds the genuinely useful precondition about pre-existing file bytes, but says nothing about permissions needed, what happens on repeated calls (relevant given idempotentHint=false, i.e. likely duplicate records), or what is returned. With annotations carrying the safety profile, this is an adequate but not rich disclosure.

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?

One sentence with the key constraint front-loaded in the parenthetical, no filler. The awkward 'grant-documents-equivalent bucket' construction costs a little clarity but not length.

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 five-parameter mutation with no output schema and no documented parameters, the description leaves critical gaps: the meaning and format of file_path, whether file_name must match the stored object, whether file_size/mime_type are validated, and what identifier is returned. The precondition statement is helpful but not enough for a tool of this complexity.

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 description coverage is 0% across five parameters, so the description carries the full burden and mostly fails it: grant_id, file_name, file_path, file_size, and mime_type are all undocumented. The only hint is the oblique reference to a 'grant-documents-equivalent bucket' that vaguely gestures at file_path's meaning, and the 'grant-documents-equivalent' phrasing is itself ambiguous about which storage location applies.

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 gives a specific verb ('Register') and resource ('a document ... against a grant'), and clarifies that it does not upload bytes but records an existing object. It does not name a sibling such as create_document_upload_url, so the boundary with the upload flow is only implied by the parenthetical.

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?

The parenthetical 'file bytes must already exist' establishes a real precondition that implies this tool is the step after an upload has been completed, which is useful routing context. However, it never states when to choose this over create_document_upload_url or what to do if the file is not yet uploaded, leaving the alternative to inference.

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