Skip to main content
Glama

get_idea

Read-only

Retrieve detailed information about a specific idea by its unique ID for product feedback management and decision tracking.

Instructions

Get detailed information about a specific idea by ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ideaIdYesThe unique ID of the idea

Implementation Reference

  • The `handleProxyTool` function acts as the handler for 'get_idea' (and other tools defined in this file). It forwards the call to the main app's MCP handler via `idealiftClient.mcpProxy`.
    export async function handleProxyTool(
      toolName: string,
      args: Record<string, unknown>,
      chatgptSubjectId: string
    ): Promise<{ content: Array<{ type: string; text: string }>; isError: boolean }> {
      try {
        const response = await idealiftClient.mcpProxy(
          chatgptSubjectId,
          'tools/call',
          { name: toolName, arguments: args }
        );
    
        if (response.error) {
          return {
            content: [{ type: 'text', text: `Error: ${response.error.message}` }],
            isError: true,
          };
        }
    
        // The result from handleJsonRpcRequest for tools/call is { content: [...], isError?: boolean }
        const result = response.result as { content?: Array<{ type: string; text: string }>; isError?: boolean } | undefined;
    
        if (result?.content) {
          return {
            content: result.content,
            isError: result.isError || false,
          };
        }
    
        // Fallback: wrap the result as text
        return {
          content: [{ type: 'text', text: JSON.stringify(response.result, null, 2) }],
          isError: false,
        };
      } catch (error) {
        console.error(`[ProxyTool] Error calling ${toolName}:`, error);
        return {
          content: [{ type: 'text', text: `Proxy error: ${(error as Error).message}` }],
          isError: true,
        };
      }
    }
  • The 'get_idea' tool is registered within the `proxyTools` array in `src/mcp/tools/proxyTools.ts`.
    {
      name: 'get_idea',
      description: 'Get detailed information about a specific idea by ID.',
      inputSchema: {
        type: 'object' as const,
        properties: {
          ideaId: {
            type: 'string',
            description: 'The unique ID of the idea',
          },
        },
        required: ['ideaId'],
      },
      annotations: { readOnlyHint: true, destructiveHint: false, openWorldHint: true },
      _meta: { 'openai/visibility': 'public' },
    },
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate openWorldHint=true (external access possible) and readOnlyHint=true, but the description adds minimal context beyond 'detailed information'. Fails to address error cases (e.g., invalid ID), cache behavior, or implications of openWorldHint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence with front-loaded verb. No redundant words or unnecessary elaboration. Appropriate length for tool complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Adequate for a simple single-parameter read operation with full schema coverage and safety annotations, but lacks completeness regarding error handling and sibling tool relationships that would assist agent selection.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with the ideaId parameter fully documented. The description references 'by ID' which aligns with the parameter, but adds no semantic depth regarding ID format or constraints beyond the schema definition.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States specific verb (Get) and resource (idea), and implies distinction from siblings like list_ideas/search_ideas via 'by ID' phrasing. However, it does not explicitly contrast with the multiple sibling search/list tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides no guidance on when to use this tool versus the available alternatives (list_ideas, query_ideas, search_ideas). Does not indicate prerequisites like needing to obtain the ID first.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/Startvest-LLC/idealift-mcp-server'

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