Skip to main content
Glama
theagoralabs

Theagora MCP Server

by theagoralabs

my_functions

Read-only

View and manage your registered marketplace functions, including active listings with pricing, QoS, and registration details.

Instructions

View all functions you have registered on the marketplace. Shows active listings with pricing, QoS, and registration details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool registration for 'my_functions' - registers the tool with name, description, empty schema (no parameters), and the handler that wraps the API call.
    server.tool(
      'my_functions',
      'View all functions you have registered on the marketplace. Shows active listings with pricing, QoS, and registration details.',
      {},
      { readOnlyHint: true, openWorldHint: true },
      async () => {
        const result = await client.getMyFunctions();
        return {
          content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }],
        };
      }
    );
  • Tool handler function that calls client.getMyFunctions() and returns the result as formatted JSON text content.
    async () => {
      const result = await client.getMyFunctions();
      return {
        content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }],
      };
    }
  • API client method getMyFunctions() that makes a GET request to '/functions/my' endpoint to retrieve the user's registered function listings.
    async getMyFunctions(): Promise<any> {
      return this.request('/functions/my');
    }
  • Tool schema definition - empty object {} indicating the tool takes no input parameters.
    {},

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/theagoralabs/mcp'

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