Skip to main content
Glama

get-form

Retrieve the structure of an existing web form using its UUID for integration or customization via the Dynamic Form MCP server.

Instructions

Obtiene la estructura de un formulario existente mediante su UUID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesUUID del formulario

Implementation Reference

  • Handler function for the 'get-form' tool that retrieves and returns the structure of a form by UUID using DynamicForm.getFormulary()
    async ({ uuid }) => { const form = new DynamicForm(uuid); const { formulary, error } = await form.getFormulary(); if (error) { return { content: [{ type: "text", text: `Error al obtener el formulario: ${error}` }] }; } return { content: [{ type: "text", text: JSON.stringify(formulary, null, 2) }] }; }
  • Input schema for the 'get-form' tool requiring a valid UUID string
    { uuid: z.string().uuid().describe("UUID del formulario") },
  • src/index.ts:62-74 (registration)
    Registration of the 'get-form' MCP tool with name, description, input schema, and handler function
    server.tool( "get-form", "Obtiene la estructura de un formulario existente mediante su UUID", { uuid: z.string().uuid().describe("UUID del formulario") }, async ({ uuid }) => { const form = new DynamicForm(uuid); const { formulary, error } = await form.getFormulary(); if (error) { return { content: [{ type: "text", text: `Error al obtener el formulario: ${error}` }] }; } return { content: [{ type: "text", text: JSON.stringify(formulary, null, 2) }] }; } );

Other Tools

Related 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/backsoul/dynamicform-mcp'

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