Skip to main content
Glama
adepanges

TeamRetro MCP Server

get_user

Retrieve a user's details by email on the TeamRetro MCP Server, enabling seamless integration with TeamRetro.com's API for efficient team retrospective management.

Instructions

Get a single user by email

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesstring

Implementation Reference

  • The core handler implementation for the 'get_user' MCP tool. It defines the input schema (email), description, and the async handler function that calls the usersService.getUser method.
    get_user: {
      schema: z.object({
        email: emailSchema,
      }),
      description: "Retrieve detailed information about a single user by their email address",
      handler: async (args: { email: string }) =>
        createToolResponse(usersService.getUser(args.email)),
    },
  • src/tools.ts:10-22 (registration)
    Registers the userTools (including get_user) by importing and spreading into the central tools object.
    import { userTools } from './features/users/tools.js';
    import { toolErrorHandlers } from './utils/tools.js';
    
    const tools = {
      ...userTools,
      ...teamTools,
      ...teamMembersTools,
      ...actionTools,
      ...retrospectiveTools,
      ...agreementTools,
      ...healthModelTools,
      ...healthCheckTools,
    };
  • src/index.ts:43-63 (registration)
    Final MCP server registration: sets up request handlers for listing tools (using toolSchema) and calling tools (using toolHandlers[name] for execution).
    private setupTools(): void {
      // List available tools
      this.server.setRequestHandler(ListToolsRequestSchema, async () => ({
        tools: toolSchema,
      }));
    
      // Handle tool calls
      this.server.setRequestHandler(CallToolRequestSchema, async (request) => {
        const { name, arguments: args = {} } = request.params;
        const handler = toolHandlers[name];
        
        if (!handler) {
          throw new McpError(ErrorCode.MethodNotFound, `Tool not found: ${name}`);
        }
    
        const response = await handler(args);
        logger.info(`${name} Tool response:`, { response });
        
        return response;
      });
    }
  • The underlying service method invoked by the tool handler, performing an API GET request to fetch the user by email.
    async getUser(email: string): Promise<SingleApiResponse<User>> {
      return this.get<SingleApiResponse<User>>(`/v1/users/${email}`);
    }
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states what the tool does but doesn't describe important behavioral aspects: whether it's a read-only operation, what happens if the user doesn't exist (error handling), response format, or any rate limits. The description is minimal and lacks operational context.

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?

The description is extremely concise with a single sentence that directly states the tool's purpose. Every word serves a functional purpose with zero redundancy or unnecessary elaboration, making it perfectly front-loaded and efficient.

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

Completeness2/5

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

For a tool with no annotations and no output schema, the description is insufficiently complete. It doesn't explain what information is returned about the user, how errors are handled, or any operational constraints. Given the lack of structured metadata, the description should provide more context about the tool's behavior and expected outcomes.

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?

The description mentions the single parameter ('by email') which aligns with the schema's 100% coverage. However, it doesn't add meaningful semantic context beyond what the schema already provides through the email format validation. No additional guidance is given about email format requirements or edge cases.

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?

The description clearly states the action ('Get') and resource ('a single user') with the specific lookup method ('by email'), which distinguishes it from sibling tools like 'list_users' or 'detail_team'. However, it doesn't explicitly differentiate from similar tools like 'update_user' or 'delete_user' that also operate on users.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when to prefer 'get_user' over 'list_users' for retrieving user information, nor does it specify prerequisites like authentication requirements or access permissions.

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

Related 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/adepanges/teamretro-mcp-server'

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