Skip to main content
Glama

add_tag

Add one tag to an item owned by the authenticated user. Safe to retry.

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": {
      "item_id": "<item_id>",
      "tag": "<tag>"
    },
    "name": "add_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes
item_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavioral load, and it does disclose the two most important traits: this is a mutation scoped to the authenticated user's own items, and it is idempotent enough to be retried safely. It omits what happens when the tag is already present, whether tags are normalized or case-sensitive, and the failure mode for a non-owned item_id.

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 short sentences, front-loaded with the action and scope, with the retry guarantee as a trailing note. Nothing is redundant and nothing is buried.

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 two-parameter mutation with no output schema, the description covers purpose, ownership boundary, and retry safety, which is close to sufficient. The remaining gap is duplicate-tag behavior, which is precisely the question an agent will have when told the call is safe to retry.

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 0%, so the schema gives only types and bounds (tag 1-80 chars, item_id >= 1). The description compensates partially: 'one tag' clarifies that a single tag is passed rather than a list, and the ownership clause clarifies what item_id must reference, but format, casing, and duplicate handling are left unspecified.

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 names a specific verb and resource ('Add one tag') and constrains scope to 'an item owned by the authenticated user', which also implicitly separates it from remove_tag. It stops short of explicitly naming the sibling alternative, so an agent must infer the add/remove pairing from names alone.

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 context is implied rather than stated: the ownership clause tells the agent this only works on the caller's own items, and 'Safe to retry' signals when retrying is acceptable. There is no explicit when-to-use versus add_item or remove_tag, and no mention of preconditions such as the item already existing.

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