Skip to main content
Glama

modify_tag

Change a tag's value on TaskPaper items matching a text substring, so you can update existing tag values without editing each item individually.

Instructions

Change a tag's value on items matching a text substring. Use to update existing tag values.

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>",
      "value": "<value>"
    },
    "name": "modify_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYesTag name to modify
fileNo
textYesText substring to match
valueYesNew tag value

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 burden. It does hint that the operation is bulk — it changes every item matching the substring — which is valuable, but it omits permissions, behavior on zero matches, whether the tag must already exist, and whether changes are reversible.

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?

Two short sentences with the key matching scope front-loaded. The second sentence is largely redundant with the first, but it is not costly in length.

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?

For an unannotated mutation tool with no output schema and one undocumented parameter, the definition should say more: whether the substring match implies a bulk write, what the file parameter scopes, and what happens on no matches. The current text leaves an agent guessing on all three.

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 75%, so the schema documents tag, text, and value. The description adds no syntax or semantics beyond that, and the 'file' parameter is undocumented in both schema and description, leaving its scoping role unclear.

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?

States a concrete verb and resource — 'Change a tag's value' — plus the matching scope, 'on items matching a text substring.' This is clearly distinguishable from add_tag and remove_tag, though it never names a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only guidance is 'Use to update existing tag values,' which restates the purpose rather than telling the agent when to choose this over add_tag/remove_tag. No preconditions (does the tag need to exist?) and no when-not cases are given.

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