Skip to main content
Glama

Attach a document to a proposal

add_attachment

Prepare a form from documents: a proposal of every answer with its source, what is missing, and where documents disagree, before writing, plus attachments for a package. Attach one document (file_url: public https link, or file_base64) to a proposal from prepare_form. PDF, PNG and JPEG only, at most 20 per proposal. requirement: the name of an entry in the form's attachments_required list to satisfy it; uploading a second document for the same requirement replaces the first. Free: attachments are part of the already-billed prepare. Optional retention: ephemeral or account_default (default: the account's own setting). Ephemeral processing: source and output documents are deleted 60 to 70 minutes after the last activity on a form.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_urlNo
file_base64No
proposal_idYes
requirementNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

The description discloses many behaviors beyond annotations: replacement semantics ('uploading a second document for the same requirement replaces the first'), ephemeral deletion ('source and output documents are deleted 60 to 70 minutes after the last activity'), cost implication ('attachments are part of the already-billed prepare'), and file type/limit constraints. This is rich, actionable context that annotations do not provide.

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

Conciseness3/5

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

The description is long and includes a misleading first sentence that is tangential to the tool's purpose. While every subsequent sentence adds value (constraints, replacement, ephemeral, billing), the lack of front-loading of the core action and the confusing opener hurt structure. It 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 covers most operational details: file sources, types, limits, requirement behavior, retention, and billing. However, it does not explicitly state that at least one of file_url or file_base64 must be provided, which is a critical requirement given the schema makes both optional (default null). The presence of an output schema reduces the need to explain return values.

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

Parameters5/5

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

Schema coverage is 0%, so the description must explain parameters, and it does thoroughly: file_url is a public https link, file_base64 is an alternative, proposal_id refers to a proposal from prepare_form, and requirement names an entry in the form's attachments_required list. This fully compensates for the schema's lack of descriptions.

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 core action is clearly stated: 'Attach one document ... to a proposal from prepare_form.' However, the description begins with a confusing preamble about 'Prepare a form from documents' which seems to belong to a different tool, muddying the primary purpose. The verb+resource is specific, but the opening reduces clarity.

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 description implies usage (attach documents to a proposal) and gives constraints (file types, limit, requirement replacement), but it never explicitly contrasts with sibling tools like fill_form, commit_proposal, or prepare_form. No when-to-use vs. alternatives or when-not-to-use guidance is provided.

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.