Skip to main content
Glama

Create or update a label

save_label
Idempotent

Create or update a label (idempotent by name). If this call is refused for billing (BILLING_INACTIVE or MONTHLY_CAP_REACHED), the response carries tellHuman, a ready-to-relay sentence: PASS IT TO YOUR HUMAN. You cannot fix it yourself — only an owner can — so do NOT absorb the refusal and continue with read-only work as if the session were healthy; every value-bearing write will keep failing until they act.

Input Schema

NameRequiredDescriptionDefault
nameYes
colorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.3/5.0
Behavior4/5

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

The annotations already declare idempotency and non-destructiveness, so that part repeats what is already declared. The description still adds real value beyond the annotations: it documents the BILLING_INACTIVE and MONTHLY_CAP_REACHED refusal modes, the tellHuman response field, and the fact that only an owner can fix the billing problem. That failure-mode disclosure is the kind of behavioral context an agent cannot get from structured fields.

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

Conciseness3/5

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

The purpose is front-loaded in the first clause, which is good, but the majority of the text is a long billing-failure lecture with emphasis formatting. The content is genuinely useful, but it is disproportionate for a two-parameter label tool and crowds out basic parameter documentation.

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?

The description is complete on the error path, but for a mutation tool with no output schema and zero schema coverage it should also say what a successful call returns and what color accepts. An agent could still call it correctly, but it would be guessing about color and about the response shape.

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

Parameters2/5

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

The schema description coverage is 0%, so the description must carry the full burden, and it only partly does. 'Idempotent by name' usefully establishes that name is the identity key, but the color parameter is never mentioned at all, and neither parameter's format or constraints are explained.

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 opens with a specific verb and resource, creating or updating a label, and adds the key semantic that operation is idempotent by name. It doesn't name list_labels or any sibling as the read counterpart, so sibling differentiation is left implicit.

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

Usage Guidelines3/5

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

The description clarifies that update and create are the same call, identifying the name as the upsert key, and it gives explicit guidance for the billing-refusal path. It offers no guidance on when to use this instead of list_labels or on naming and color conventions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources