Skip to main content
Glama
jhauga
by jhauga

Mirror a website form

mirror_web_form

Fetch any public web page, extract its form, and render it as an interactive card. Submissions return structured data for direct website form submission.

Instructions

Fetch a public web page, extract one of its forms, and render it as an interactive card in the conversation. When the user submits the card, the values return to the chat as a structured payload for the submit_web_form tool, so a model-created task can submit the actual website form.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
titleNoCard title override
formIndexNoWhich form on the page, default 0

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardYes
partsYesSplit state, present on EVERY card result so one completeness check works for all card types. Cards that cannot split always report {current:1,total:1,hasMore:false}; create_markdown_card and create_code_tour_card pack oversized content into parts and can report more. Read hasMore rather than the card title to decide whether content was withheld.
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does reasonably well: it discloses the side effects (fetching, extracting, rendering, returning a structured payload on submission) and a limitation ('public web page'). It omits details like rate limits, failure behavior, or handling of pages without forms, but the core workflow is transparent.

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?

The description is compact and well-ordered: action, object, output flow, and downstream purpose. Every clause contributes indispensable information, with no filler or redundantly repeated schema details.

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?

Given the tool's complexity and the absence of annotations, the description gives the agent a complete mental model of the execute-and-submit loop, and the presence of an output schema covers return details. It remains slightly thin on edge cases like 'page has no forms' or 'multiple matching forms,' but it is still sufficiently complete for correct tool selection and invocation.

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?

The schema already documents title and formIndex, and the description adds some contextual meaning—especially that the URL must point to a public page and that a single form is extracted. However, it mostly relies on the schema for parameter specifics rather than enriching them, so the added value is moderate.

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?

The description names a specific verb-resource pair: fetch a public web page, extract one of its forms, and render it as an interactive card. It also distinguishes itself from the sibling submit_web_form tool by describing how the card payload feeds into that separate submission step.

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?

The description clearly conveys when to use the tool: when a website form should be mirrored into the conversation so a model-created task can later submit it. It even names the follow-up tool (submit_web_form), which gives strong routing context, though it does not explicitly state exclusions such as 'use create_form_card for manually built forms.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jhauga/mcp-chat-cards'

If you have feedback or need assistance with the MCP directory API, please join our Discord server