Skip to main content
Glama
adepanges

TeamRetro MCP Server

update_user

Modify user details, including name and email, within the TeamRetro platform using structured input for accurate and efficient updates.

Instructions

Update an existing user's information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesstring
emailAddressYesstring
nameYesstring

Implementation Reference

  • The core implementation of the 'update_user' tool, including its input schema (Zod), description, and handler function that delegates to usersService.updateUser.
    update_user: {
      schema: z.object({
        email: emailSchema,
        name: nameSchema.optional(),
        emailAddress: emailSchema,
      }),
      description: "Update an existing user's details, such as their name and emailAddress, by providing their current email",
      handler: async (args: {
        email: string;
        name?: string | null;
        emailAddress?: string;
      }) =>
        createToolResponse(
          usersService.updateUser(args.email, {
            name: args.name,
            emailAddress: args.emailAddress,
          })
        ),
    },
  • src/tools.ts:13-22 (registration)
    Registers the 'update_user' tool by importing and spreading userTools into the central tools object, which is then used to generate toolSchema and toolHandlers for MCP.
    const tools = {
      ...userTools,
      ...teamTools,
      ...teamMembersTools,
      ...actionTools,
      ...retrospectiveTools,
      ...agreementTools,
      ...healthModelTools,
      ...healthCheckTools,
    };
  • Supporting service method 'updateUser' that executes the PATCH API request to update user details.
    async updateUser(
      email: string,
      updateData: { name?: string | null; emailAddress?: string }
    ): Promise<SingleApiResponse<User>> {
      return this.patch<SingleApiResponse<User>>(`/v1/users/${email}`, {
        body: updateData,
      });
    }
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states this is an update operation (implying mutation), but doesn't disclose any behavioral traits such as required permissions, whether changes are reversible, error conditions, or what happens to unspecified fields. This is a significant gap for a mutation tool.

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 a single, efficient sentence that gets straight to the point with zero wasted words. It's appropriately sized for a straightforward update operation and is perfectly front-loaded with the essential information.

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 mutation tool with no annotations and no output schema, the description is insufficiently complete. It doesn't explain what happens during the update (e.g., partial updates, validation), what the response contains, or potential side effects. The 100% schema coverage helps with parameters but doesn't compensate for the lack of behavioral context.

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 schema description coverage is 100%, so the schema already documents all three parameters (email, emailAddress, name) with their types and formats. The description adds no additional meaning about what these parameters represent beyond the generic 'user's information' reference, meeting the baseline for high schema coverage.

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 ('Update') and resource ('an existing user's information'), making the purpose immediately understandable. It distinguishes from sibling tools like 'add_user' (creation) and 'delete_user' (deletion), though it doesn't explicitly differentiate from 'update_team' which updates a different resource type.

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 prerequisites (e.g., user must exist), when not to use it, or how it differs from similar tools like 'update_team' or 'add_user' beyond the obvious resource difference.

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