Skip to main content
Glama

Xenition

Generate a document from a form

submit_form

Submit a filled Xenition form (from find_forms) to generate its document. Saves the result to the user's workspace and returns it. Usually called by the form widget when the user clicks submit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNooptional title for the produced document
formIdYesthe form id from find_forms (e.g. 'invoice', 'resume')
valuesYesthe filled field values, keyed by field name; a list field is an array of objects keyed by its sub-field names

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
artifactYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is largely covered. The description adds genuinely useful behavior beyond that: the resulting document is persisted to the user's workspace and returned, which tells the agent about the side effect and the response.

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?

Three short sentences, front-loaded with the action and resource, then the side effect, then the invocation context. No filler or repetition.

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?

An output schema exists, so return values need not be explained, and the annotations cover the mutation/safety profile. The description covers purpose, source of formId, persistence and call context; only failure behavior for an invalid formId or a mismatched values shape is left unstated, which is minor.

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 documents title, formId and values (including the nested list-field convention). The description only adds provenance for formId ('from find_forms'), which is helpful but marginal — baseline 3 applies when the schema carries the parameter semantics.

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?

States a specific verb and resource ('Submit a filled Xenition form ... to generate its document') and ties the input to a named sibling source ('from find_forms'). An agent can distinguish this from create_document or form_responses without opening the schema.

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?

Provides clear context for invocation: it is the step that follows find_forms, and it is 'usually called by the form widget when the user clicks submit.' That implies the prerequisite and typical call path, but there is no explicit when-not-to-use or named alternative for agent-initiated document creation.

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