Skip to main content
Glama

FormsByState

Validate document

validate_document
Read-only

Check answers: missing required fields, state-law errors and warnings, and a text preview of the document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYesUS state: 2-letter code (TX), slug (texas) or name
doc_idYesDocument id from list_documents, e.g. lease, eviction_notice, bill_of_sale, nda, lien_waiver
answersYesAll answers so far, keyed by field id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish the safety profile (readOnlyHint=true, openWorldHint=false), so the burden is lightened, and the description still adds value by disclosing the result payload: missing-field detection, state-law errors vs. warnings, and a text preview. It stops short of describing error cases, preview size, or whether validation mutates any stored state.

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?

A single front-loaded sentence that names the action first and the outputs second, with no filler. It is efficiently sized, though the colon-list format makes it read slightly like a schema echo rather than guidance.

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?

With three fully documented required parameters and no output schema, the description does the needed work of telling the agent what comes back (errors, warnings, preview). It is nearly complete; only the workflow relationship to render_document and sibling tools is left unstated.

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 100%, so the schema already explains doc_id, state formats, and the answers map, making 3 the baseline. The description only references 'answers' generically and adds no format or validation-dependency 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 ('Check/validate') and its subject ('answers') and enumerates the three outputs produced: missing required fields, state-law errors/warnings, and a text preview. This is clear, but it does not explicitly distinguish the tool from siblings like get_document_fields or get_state_rules, which superficially overlap in checking fields and state rules.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use guidance, no prerequisites (e.g., whether answers must come from get_document_fields first), and never names an alternative such as render_document or get_state_rules. The agent must infer the validation step in the workflow purely from the tool name.

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