Skip to main content
Glama

Atualizar tag

update_tag
Idempotent

Atualiza nome e/ou cor de uma tag existente do usuário autenticado (id = id da tag). Campos omitidos mantêm o valor atual. count retorna 0 se o id não existir ou não pertencer ao usuário (sem erro).

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

Input Schema

NameRequiredDescriptionDefault
idYesId da tag a atualizar
nameNoNovo nome
colorNoNova cor (ex: hex '#RRGGBB')

Output Schema

NameRequiredDescriptionDefault
countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations indicate mutation (readOnlyHint=false) and non-destructive behavior (destructiveHint=false). The description adds useful behavioral details beyond annotations: omitted fields are preserved, a missing or non-owned id returns count=0 without an error, and the operation is confined to the authenticated user's tags.

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?

Two concise sentences front-load the core purpose and then state the two behavioral facts an agent needs: partial update semantics and non-error on missing/non-owned id. No filler or repetition.

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

Completeness5/5

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

For a simple three-parameter update tool, the description, input schema, and output schema together cover the required invocation facts: required id, optional fields, partial-update behavior, authentication scope, and edge-case behavior. Nothing essential is missing.

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 coverage is 100%, so each parameter is already documented. The description adds semantic value by explaining that id refers to an existing tag owned by the authenticated user, name and color are optional partial-update fields, and an unknown id does not cause an error.

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 description uses a specific verb ('Atualiza' / updates) and clearly identifies the resource: an existing tag belonging to the authenticated user. It names exactly which fields can change (name and/or color) and ties the id parameter to the tag id, distinguishing it from create_tag, delete_tag, and list_tags.

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?

It gives clear operational context: the update is scoped to the authenticated user's tag, and omitted fields keep their current value, implying partial updates. It does not explicitly name alternatives or when-not conditions, but the update-vs-create/delete distinction is unambiguous.

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.