Skip to main content
Glama
Things 3 MCP Server
by ebowman

get_tag_usage

Counts open and total todos, projects, and areas per tag, sorted by usage, helping identify unused or rarely used tags for cleanup.

Instructions

Report how many items (todos, projects, and areas; open and total) use each tag, sorted by usage (highest first).

Useful for weekly-review tag cleanup: identify rarely-used or unused tags, then remove them from remaining items or delete the tag manually in Things.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_tag_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoResponse mode: summary, minimal, standard, or detailedstandard
only_unusedNoIf true, only return tags with zero items (cleanup candidates)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does meaningful work: 'Report' frames this as a read-only analysis, the sort order is disclosed, and the closing phrase ('then remove them from remaining items or delete the tag manually in Things') implicitly tells the agent this tool does not mutate or delete tags. It does not state permission/auth requirements or any rate/scale limits, so a small gap remains.

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 sentences, both earning their place: the first front-loads what is returned and how it is ordered, the second supplies the motivating scenario. No restated title, no filler.

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?

An output schema exists, so return values need no explanation, and the description covers purpose, ordering, and workflow for a simple two-optional-parameter read tool. The only shortfall is that the behavior of the mode parameter's levels is left entirely to the schema, which is acceptable but leaves the definition slightly thin.

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 100%, so both parameters (mode, only_unused) are already documented in structured form. The description's phrase 'rarely-used or unused tags' loosely aligns with only_unused and 'open and total' loosely aligns with the mode granularity, but it adds no format or interaction detail beyond the schema. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Report how many items ... use each tag') and pins down the exact output semantics: counts per item type (todos, projects, areas), open vs total, sorted highest-first. This is clearly distinguishable from sibling read tools like get_tags (list tags) or get_tagged_items (items for one tag) without opening either schema.

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?

Gives an explicit use case ('weekly-review tag cleanup: identify rarely-used or unused tags') plus the follow-on workflow, so the agent knows the context that selects this tool. It stops short of naming a specific alternative tool or stating when not to use it, which keeps it out of 5 territory.

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