Skip to main content
Glama
arttus

umami-mcp-server

by arttus

Rename a team or rotate its access code

umami_update_team
Idempotent

Change a team's name or rotate its access code to revoke old self-join links.

Instructions

Update a team's name, or set a new access code.

Args:

  • team_id (string, required): Team UUID.

  • name (string, optional): New team name.

  • access_code (string, optional): New access code for self-join links. Rotating it invalidates the old code.

Returns: { "id": string, "name": string, "access_code": string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew team name.
team_idYesTeam UUID.
access_codeNoNew access code. Invalidates the old one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already mark this as a non-read-only, non-destructive, idempotent write, so the description adds value by noting that rotating the access code invalidates the old one. It also documents the return object shape, which is useful because no output schema is provided. No contradiction with annotations.

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?

The description is compact and front-loaded with a clear purpose sentence, followed by a short Args block and a Returns line. The Args block somewhat duplicates the schema, but the overall structure is scannable and free of unnecessary prose.

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?

For a simple three-parameter tool, the description covers the core operation, side effects, and return shape. However, it does not state whether at least one of name or access_code must be provided, or whether both can be updated together, which leaves a real ambiguity for correct invocation.

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 description coverage is 100%, so the baseline is 3. The description mostly restates the schema parameters, with small added context like 'for self-join links' for access_code. It does not add meaningful format or syntax details beyond the schema.

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 operation: 'Update a team's name, or set a new access code,' identifying both the specific resource and the mutable fields. It is not tautological, but it does not explicitly distinguish itself from sibling team-related tools like umami_update_team_user.

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

Usage Guidelines4/5

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

The description provides clear context for when to use the tool: renaming a team or rotating its self-join access code. It also explains the consequence of rotation, which helps an agent decide if this tool is appropriate. It does not explicitly name alternatives or state when not to use it.

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