Skip to main content
Glama

pylon_get_organization

Retrieve details about your Pylon organization, including account information and settings, to manage customer support operations.

Instructions

Get information about your Pylon organization

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the pylon_get_organization tool. Fetches organization data using PylonClient.getMe() and returns it formatted as JSON text content.
    async () => { const result = await client.getMe(); return { content: [{ type: 'text', text: JSON.stringify(result.data, null, 2) }], }; },
  • src/index.ts:26-36 (registration)
    Registers the pylon_get_organization tool with the MCP server, providing name, description, empty input schema, and inline handler.
    server.tool( 'pylon_get_organization', 'Get information about your Pylon organization', {}, async () => { const result = await client.getMe(); return { content: [{ type: 'text', text: JSON.stringify(result.data, null, 2) }], }; }, );
  • PylonClient.getMe() helper method that performs the API GET request to '/me' to retrieve organization information.
    async getMe(): Promise<SingleResponse<Organization>> { return this.request<SingleResponse<Organization>>('GET', '/me'); }
  • TypeScript interface defining the structure of the Organization object returned by the tool.
    export interface Organization { id: string; name: string; }

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/JustinBeckwith/pylon-mcp'

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