Skip to main content
Glama

linear_getOrganization

Retrieve details about your Linear organization to manage projects, teams, and issues effectively.

Instructions

Get information about the current Linear organization

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function for the 'linear_getOrganization' tool. It wraps the call to linearService.getOrganizationInfo() with error handling.
    /** * Handler for getting organization information */ export function handleGetOrganization(linearService: LinearService) { return async (args: unknown) => { try { return await linearService.getOrganizationInfo(); } catch (error) { logError('Error getting organization information', error); throw error; } }; }
  • The MCPToolDefinition for 'linear_getOrganization', specifying input (empty) and output schemas.
    * Tool definition for getting 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' handler in the tool handlers map returned by registerToolHandlers.
    // User tools linear_getViewer: handleGetViewer(linearService), linear_getOrganization: handleGetOrganization(linearService), linear_getUsers: handleGetUsers(linearService), linear_getLabels: handleGetLabels(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