Skip to main content
Glama

get-answers

Extract and view responses from a dynamic form using its unique UUID. Simplify data retrieval and analysis for web form submissions with this tool in the Dynamic Form MCP server.

Instructions

Obtiene las respuestas de un formulario existente mediante su UUID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesUUID del formulario

Implementation Reference

  • Handler function for the 'get-answers' tool that creates a DynamicForm instance with the given UUID and calls getAnswers() to retrieve the form answers, returning them as JSON or an error message.
    async ({ uuid }) => { const form = new DynamicForm(uuid); const { answers, error } = await form.getAnswers(); if (error) { return { content: [{ type: "text", text: `Error al obtener las respuestas: ${error}` }] }; } return { content: [{ type: "text", text: JSON.stringify(answers) }] }; }
  • src/index.ts:76-88 (registration)
    Registration of the 'get-answers' MCP tool using server.tool(), including name, description, input schema, and inline handler.
    server.tool( "get-answers", "Obtiene las respuestas de un formulario existente mediante su UUID", { uuid: z.string().uuid().describe("UUID del formulario") }, async ({ uuid }) => { const form = new DynamicForm(uuid); const { answers, error } = await form.getAnswers(); if (error) { return { content: [{ type: "text", text: `Error al obtener las respuestas: ${error}` }] }; } return { content: [{ type: "text", text: JSON.stringify(answers) }] }; } );
  • Input schema for 'get-answers' tool: requires a 'uuid' parameter validated as a UUID string.
    { uuid: z.string().uuid().describe("UUID del formulario") },

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