Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

update_user

Idempotent

Update a CallRail user's name or replace their company access list by user ID. Use it to manage manager and reporting user permissions; email and role changes are rejected.

Instructions

Update a user's name or company access. Pass None to leave unchanged.

CallRail's PUT /users accepts first_name, last_name, email and companies only, with two documented restrictions: names and email can be changed only for the user who owns the API key, and an email change requires that user's current password in the request. This server never handles passwords, so email is rejected; role is rejected because the API has no way to change it (recreate the user, or use the CallRail UI). Updates are only accepted for users who have accepted their invitation.

Args: user_id: 'USR...' id. first_name, last_name: Only for the API key's own user. email: Rejected (see above). role: Rejected (see above). company_ids: REPLACES the user's company access list (send the full list the user should keep). Admin-only; applies to manager and reporting users.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "user_id": "<user_id>"
    },
    "name": "update_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNo
emailNo
user_idYes
last_nameNo
account_idNo
first_nameNo
company_idsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), and the description adds material context they cannot convey: the API's underlying PUT contract, password/email rejection, invitation prerequisite, and the crucial fact that company_ids REPLACES rather than appends. Callers know exactly what will be overwritten and what will be silently refused.

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

Conciseness4/5

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

Front-loads the action and the None-means-unchanged convention, then layers API constraints, then a compact Args block. Every paragraph is load-bearing; the minor cost is some redundancy between the prose restrictions and the Args annotations for email/role.

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

Completeness4/5

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

An output schema exists, so return values need not be described, and the description covers prerequisites, permissions, rejection cases, and destructive replacement semantics for a 7-parameter mutation. The only real hole is the undocumented account_id parameter.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the full burden, and it does for six of seven parameters, including replacement semantics for company_ids and explicit rejection reasons for email and role. The exception is account_id, which is neither in the schema descriptions nor the prose, leaving a multi-account parameter unexplained.

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?

Opens with a specific verb+resource: 'Update a user's name or company access,' and immediately scopes it with 'Pass None to leave unchanged.' The verb cleanly separates it from create_user/delete_user/get_user siblings. It slightly understates the tool's surface by naming only name and company access, but the following paragraphs restore the full picture.

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

Usage Guidelines5/5

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

Explicitly states when the tool cannot be used ('names and email can be changed only for the user who owns the API key', 'Updates are only accepted for users who have accepted their invitation') and names alternatives for the unsupported case ('recreate the user, or use the CallRail UI'). Admin-only and user-type scoping for company_ids is spelled out, leaving little to inference.

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