Skip to main content
Glama

Get tag

get_tag
Read-onlyIdempotent

Get one tag by ID, with its scope, project, and how many items use it. Needs tags:read, tasks:read, or posts:read.

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": {
      "tagId": "<tagId>"
    },
    "name": "get_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagIdYesThe tag's ID, from list_tags or from the tags of a task or post.

Output Schema

NameRequiredDescriptionDefault
idYesTag ID. Pass it as tagId.
nameYesTag name.
colorNoHex color such as #3b82f6, or null.
scopeYesworkspace, or project for a tag that belongs to one project.
createdAtNoWhen it was created, in epoch ms.
projectIdNoID of the owning project. Null on a workspace tag.
updatedAtNoWhen it last changed, in epoch ms.
usageCountNoHow many items use the tag.
descriptionNoWhat the tag is for, or null.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds genuinely new context: the required auth scopes ('tags:read, tasks:read, or posts:read') and the aggregate item count in the response, which an agent would not know from the structured fields alone.

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 with no filler; the purpose and return shape come first, then the permission requirement. Every clause earns its place.

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 single-parameter read tool with rich annotations and an output schema, this covers purpose, prerequisites, and return contents. Nothing an agent needs to call it correctly is missing.

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 coverage is 100% and the single parameter is fully documented in the schema ('The tag's ID, from list_tags or from the tags of a task or post'). The description only restates 'by ID' and adds no format, prefix, or validation detail beyond it, so baseline 3 applies.

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 ('Get one tag by ID') and even enumerates the payload ('scope, project, and how many items use it'), so an agent knows exactly what comes back. It stops short of explicitly distinguishing itself from list_tags or tag-bearing resources, which keeps it out of the top band.

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 only implied: the description says 'by ID' and the schema points at list_tags or task/post tags as the ID source, so a careful reader can infer 'use this once you know the ID.' There is no explicit when-to-use vs. list_tags statement and no guidance on what happens when the ID is wrong or unknown.

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