Skip to main content
Glama

Get form snippet

get_form_snippet

A copy-paste form snippet for a framework (html, react, vue, or fetch) wired to the form's endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formIdYesForm id, e.g. frm_abc123
frameworkNohtml

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/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 usefully discloses the output artifact (a code snippet, not structured data), which matters since there is no output schema, but says nothing about read-only nature, auth/permission requirements, or whether generating a snippet has any side effects.

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 economical sentence with the artifact front-loaded. Every clause earns its place; it loses a point only for being a noun phrase with no explicit action verb to orient the agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 2-parameter read/generation tool with no output schema, the description covers what comes back and one parameter's role, but omits when to prefer it over get_form, any auth requirements, and what the snippet content actually contains. Adequate but with clear gaps.

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 50% (framework has no description). The description re-lists the enum values already visible in the schema and clarifies that the snippet is 'wired to the form's endpoint,' which ties formId to a meaningful effect, but adds no format details on formId beyond the schema example.

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 names a concrete output — a copy-paste form snippet wired to the form's endpoint — in one of four frameworks, which is specific and distinguishable from get_form (which returns form data). It never uses an explicit verb, but the resource and artifact are unmistakable.

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?

There is no when-to-use guidance, no mention of prerequisites, and no reference to siblings like get_form or create_form that an agent might confuse this with. The agent must infer that this is for generating integration code rather than reading form data.

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