Skip to main content
Glama
gotohuman

gotoHuman MCP

Official

list-forms

Retrieve all available review forms to integrate human approval steps into AI agents and automations. First, fetch form schemas using get-form-schema for field details.

Instructions

List all available review forms. NOTE: You need to fetch the schema for the form fields first using the get-form-schema tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for the 'list-forms' tool: creates a GotoHuman instance and fetches available review forms, returning them as JSON or error.
    async () => {
      try {
        const gotoHuman = new GotoHuman({origin: "mcp-server", originV: version});
        const forms = await gotoHuman.fetchReviewForms();
    
        return {
          content: [{
            type: "text",
            text: JSON.stringify({
              success: true,
              forms: forms
            })
          }]
        };
      } catch (error) {
        return {
          content: [{
            type: "text",
            text: JSON.stringify({
              success: false,
              error: error instanceof Error ? error.message : "Unknown error occurred"
            })
          }],
          isError: true
        };
      }
    }
  • src/index.ts:22-52 (registration)
    Registers the 'list-forms' tool using server.tool, with empty input schema and the handler function.
      "list-forms",
      "List all available review forms. NOTE: You need to fetch the schema for the form fields first using the get-form-schema tool.",
      {},
      async () => {
        try {
          const gotoHuman = new GotoHuman({origin: "mcp-server", originV: version});
          const forms = await gotoHuman.fetchReviewForms();
    
          return {
            content: [{
              type: "text",
              text: JSON.stringify({
                success: true,
                forms: forms
              })
            }]
          };
        } catch (error) {
          return {
            content: [{
              type: "text",
              text: JSON.stringify({
                success: false,
                error: error instanceof Error ? error.message : "Unknown error occurred"
              })
            }],
            isError: true
          };
        }
      }
    );
  • Empty input schema for the 'list-forms' tool (no parameters required).
    {},

Tool Definition Quality

Score is being calculated. Check back soon.

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/gotohuman/gotohuman-mcp-server'

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