Skip to main content
Glama

Get a form's HTML

get_form_embed_code
Read-only

The HTML to put a form on a website, plus the rules for using it: paste it unchanged except for styling, keep every name attribute and the hidden _webtzm_form and _webtzm_rev inputs, and publish it only on one of the form's allowed websites.

Input Schema

NameRequiredDescriptionDefault
form_idYesThe form's id, as list_forms returns it.

Output Schema

NameRequiredDescriptionDefault
htmlYes
rulesYes
formIdYes
statusYes
allowedSitesYes

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 declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral constraints: preserve every name attribute and hidden inputs, paste unchanged except for styling, and publish only on allowed websites. It does not explain return format or rate limits, but the output schema covers return values.

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?

The description is a single dense sentence that front-loads the tool's purpose before listing usage rules. It contains no obvious waste, though the colon-separated rule list is slightly dense and could be more scannable.

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 one-parameter read-only tool with an output schema, the description covers what the tool returns and the critical constraints on using the HTML. The main gap is the lack of explicit sibling differentiation, which matters because get_form and list_forms are adjacent tools.

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%, and the single form_id parameter is already documented as 'The form's id, as list_forms returns it.' The description adds no additional meaning or syntax beyond the schema, so the baseline of 3 is appropriate.

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 clearly states the resource and output: 'The HTML to put a form on a website.' It is specific enough to distinguish from siblings like get_form or get_submission, but it does not explicitly name or contrast those alternatives.

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 provides rules for using the returned HTML, but it does not explain when to call this tool versus siblings such as get_form, list_forms, or get_submission. There is no explicit selection guidance or exclusion criteria for the agent.

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