Skip to main content
Glama

add_tag

Adds a tag to TaskPaper items matching a text substring, optionally assigning a value and targeting a specific file.

Instructions

Add a tag to items matching a text substring

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

Input Schema

NameRequiredDescriptionDefault
tagYesTag name
fileNo
textYesText substring to match
valueNoTag value (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses almost nothing: it does not state whether an unknown tag is created, whether existing tags are duplicated or overwritten, how many items may be modified, whether permissions are required, or what is returned. Only the matching semantics are hinted at.

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?

A single front-loaded sentence with no filler. It is efficient, but the brevity comes at the cost of the behavioral detail the agent actually needs.

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

Completeness2/5

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

A mutation tool with four parameters, no annotations, and no output schema needs the description to explain effects, idempotency, and return behavior. Instead it gives one clause, leaving the blast radius of a substring-based bulk tag add entirely undefined.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75% and the undocumented parameter is `file`, the one that determines the target of the mutation. The description says nothing about what `file` accepts or how it interacts with `text`, and adds no detail on `value` versus `tag` beyond what the schema already states.

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?

Specific verb plus resource ("Add a tag") with a scoping clause ("to items matching a text substring"), so the operation is identifiable. It does not, however, say what kind of items are touched or how it differs from the near-identical sibling add_tags or from modify_tag.

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?

The substring-matching clause implies the usage context (bulk-tagging by text match) but there is no explicit when-to-use, when-not-to-use, or named alternative among add_tags, modify_tag, or add_tags. Guidance is left to inference.

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