Skip to main content
Glama

Reformer API

fill_form

Generate a printable draft and return an embedded PDF. Needs an API key with prepaid credits. Use ai_review only with authorization to send answers for external review.

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": {
      "form_id": "<form_id>",
      "data": "<data>"
    },
    "name": "fill_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesAnswers using the selected edition's schema
contextNoOptional case facts for external AI review
form_idYes
ai_reviewNoDefaults to false. True sends answers and case context for external review and may consume quota.
idempotency_keyNoReuse this identifier for retries of the same paid operation.
deterministic_validationNoDefaults to true. Set false for a best-effort partial draft.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does add genuinely useful context beyond the schema: an API key with prepaid credits is required and the response embeds a PDF. However, it says nothing about whether the draft is persisted server-side, whether each call is billable, what happens on insufficient balance, or how deterministic_validation=false affects results.

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?

Three short sentences with the core action and output front-loaded, then the billing prerequisite, then the safety caveat. Nothing is redundant, though the ai_review sentence is abrupt and reads as a fragment.

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?

For a six-parameter mutation tool with no annotations and no output schema, the definition covers the essential call prerequisites (credentials/credits, external-send authorization) and states the return artifact. Gaps remain around idempotency and the effect of deterministic_validation, but the critical decision points are present.

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 83%, so the schema already explains data, context, ai_review, idempotency_key, and deterministic_validation. The description adds no meaning for form_id or data and only restates the external-review caveat already documented on ai_review, so the baseline 3 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 uses a concrete verb and output ("Generate a printable draft and return an embedded PDF"), which tells an agent exactly what the tool produces. It is distinguishable from read-only siblings like get_form_schema and validate_form, though it never names or contrasts them explicitly.

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 only conditional guidance given is parameter-level: use ai_review only with authorization for external review. There is no statement of when to reach for fill_form versus validate_form or get_form_schema, nor any prerequisite ordering such as fetching the edition schema first. Usage is implied by the purpose rather than spelled out.

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