Skip to main content
Glama

linear_getOrganization

Retrieve details about the current Linear organization using this tool. Designed for AI assistants to fetch organization information for project management tasks directly through the MCP server.

Instructions

Get information about the current Linear organization

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the linear_getOrganization tool. It wraps the call to linearService.getOrganizationInfo() with error handling.
    export function handleGetOrganization(linearService: LinearService) { return async (args: unknown) => { try { return await linearService.getOrganizationInfo(); } catch (error) { logError('Error getting organization information', error); throw error; } };
  • Schema definition for the linear_getOrganization tool, defining input (none) and output schema for organization information.
    export const getOrganizationToolDefinition: MCPToolDefinition = { name: 'linear_getOrganization', description: 'Get information about the current Linear organization', input_schema: { type: 'object', properties: {}, }, output_schema: { type: 'object', properties: { id: { type: 'string' }, name: { type: 'string' }, urlKey: { type: 'string' }, logoUrl: { type: 'string' }, }, }, };
  • Registration of the linear_getOrganization tool handler within the registerToolHandlers function.
    linear_getOrganization: handleGetOrganization(linearService),

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/tacticlaunch/mcp-linear'

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