Skip to main content
Glama

Commit a proposal and produce the PDF

commit_proposal

Write or confirm the answers, render the form with text that fits, check it, and return the PDF with a report and a receipt, or one submission package. Give the proposal_id from prepare_form, plus any values the agent decided for fields still open (field_id, value, and an optional note), and a policy (safe or strict) to override the proposal's own. Set package to true to also receive one submission package: the filled form, the attachments added to this proposal in the order the form asks for them, and the receipt embedded in the file; that is billed as one package. Returns a job_id; poll get_job about every 20 seconds for the download link, report, receipt and, when asked for, package_url. Free within the proposal's already-billed prepare, up to 10 commits per proposal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
policyNo
valuesNo
confirmNo
packageNo
proposal_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations indicate no safety hints (readOnly=false, etc.), so the description must carry the burden. It does this well: it discloses that the operation is asynchronous (returns a job_id, polling every 20s), that it produces a report and receipt, that package=true bundles attachments and receipt, and that it is free up to 10 commits per proposal. This goes well beyond the schema.

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

Conciseness5/5

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

The description is dense but efficient, with each sentence adding critical information. It is front-loaded with the main action, then parameters, then billing/polling details. No redundant phrases.

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?

The tool is complex: asynchronous, with multiple outputs and billing nuances. The description covers usage, polling, and package behavior, and the output schema exists to explain return values. It lacks explicit explanation of 'confirm' parameter and does not detail error cases, but given the output schema and the richness of the description, it is nearly complete.

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 explain parameters. It explains proposal_id, values (field_id, value, note), policy (safe or strict), and package. It does not explain 'confirm' explicitly, though it can be inferred from 'Write or confirm the answers'. Given the schema has no descriptions, the description partially compensates but misses one parameter.

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?

The description clearly states the tool's purpose: write/confirm answers, render the form, check it, and return a PDF with a report and receipt, or a submission package. It mentions the key resource (proposal_id) and distinguishes it from siblings like prepare_form (which is the prerequisite) and get_job (polling).

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?

The description provides clear usage context: it requires a proposal_id from prepare_form, and it mentions when to use package=true. However, it does not explicitly say when NOT to use this tool or name alternative tools for different workflows (e.g., fill_form for simpler filling). Still, the context is strong enough.

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.