Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

update_tag

Idempotent

Modify an existing CallRail tag by renaming, recoloring, disabling, or re-enabling it to manage how it appears and applies to new interactions.

Instructions

Rename, recolor, disable or re-enable a tag.

Args: tag_id: Numeric tag id. account_id: Auto-resolves if omitted. name: New display name (changes the tag everywhere it is applied). disabled: True hides the tag from new interactions (existing applications stay); False re-enables it. color: One of the 24 CallRail-supported colors (see VALID_TAG_COLORS): gray1-2, blue1-2, cyan1-2, purple1-2, pink1-4, red1-2, orange1-4, yellow1-2, green1-4.

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": {
      "tag_id": "<tag_id>"
    },
    "name": "update_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
colorNo
tag_idYes
disabledNo
account_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.3.2
    • addedInput schema / properties / disabled
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Disabled"
      +}
    • addedInput schema / properties / tag_id / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "integer"
      +  }
      +]
    • removedInput schema / properties / tag_id / type
      Removed value: -"string"
  2. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive, idempotent, non-read-only mutation, so the description does not need to re-state safety. It does add real behavioral context beyond them: a name change propagates everywhere the tag is applied, and disabled=true hides the tag from new interactions while leaving existing applications intact. It stops short of stating whether omitted fields are left unchanged or whether passing null clears a value.

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 verb list is front-loaded and every entry in the argument block earns its place, particularly the color enumeration. The docstring-style Arg block with hard-wrapped lines is slightly clunky but not wasteful.

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?

For a five-parameter mutation tool with an output schema (so return values need not be described) and annotations covering safety and idempotency, this covers the operations and all parameter meanings. The one gap is partial-update semantics — whether unspecified or null fields are preserved or cleared.

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

Parameters5/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 does: tag_id, account_id (auto-resolves if omitted), name, disabled, and color are each explained with meaning, not just type. The color entry is especially valuable because the schema has no enum — the description supplies the 24 valid values and points at VALID_TAG_COLORS, preventing a predictable validation failure.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names the resource (a tag) and enumerates the exact operations: rename, recolor, disable, re-enable. That enumeration distinguishes it from create_tag, delete_tag, and get_tag without the agent needing to inspect sibling schemas.

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?

Usage is implied by the operation list rather than stated: an agent can infer this is the mutation path for an existing tag, and that get_tag/create_tag/delete_tag cover the other cases. There is no explicit when-to-use or when-not-to-use sentence, and no stated prerequisite such as resolving tag_id first.

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