Skip to main content
Glama

AI Form API (fill)

Submit the answers

submit_fill

Submit answers with a fill code. One successful use per code, at most 5 attempts. 201-equivalent result has response_id and receipt: tell the person the receipt. On invalid_answers fix the listed fields and call again.

Input Schema

NameRequiredDescriptionDefault
answersYesMap of field id to value
fill_tokenYesThe fill code from the prompt, starting with fil_

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses idempotency-like behavior (one successful use per code), a retry ceiling (5 attempts), the success payload (response_id and receipt), and the failure branch (invalid_answers). It omits auth/prerequisite requirements and whether a submission is final or reversible.

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?

Four short sentences, each doing distinct work: action, limits, success handling, error handling. The core action is front-loaded and nothing is redundant.

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?

There is no output schema, and the description compensates by naming the success fields and the post-success instruction to relay the receipt, plus the error path. Minor gaps remain around prerequisites and whether retries count against the 5-attempt budget after a partial success.

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 coverage is 100%, so both parameters are already documented in the schema, making 3 the baseline. The description reinforces that fill_token is a 'fill code' and that answers fields can be invalid and need fixing, but adds no format or value-type detail beyond the schema.

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?

States a specific verb and resource ('Submit answers with a fill code'), which clearly separates it from the sibling get_fill_form (read vs submit). It does not name the sibling explicitly, so differentiation is inferred from the verb rather than stated.

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?

Gives concrete operating conditions: one successful use per code and a cap of 5 attempts, plus an explicit recovery path ('On invalid_answers fix the listed fields and call again'). No explicit when-not-to-use or alternative-tool routing is given, which keeps it below a 5.

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