Skip to main content
Glama

update_tag

Modify an existing Paperless-NGX tag by changing its name, color, matching pattern, or matching algorithm.

Instructions

Update an existing tag's name, color, matching pattern, or matching algorithm.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
nameYes
colorNo
matchNo
matching_algorithmNoMatching algorithm: 0=None, 1=Any word, 2=All words, 3=Exact match, 4=Regular expression, 5=Fuzzy word, 6=Automatic

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.2.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / matching_algorithm / description
      Added value: +"Matching algorithm: 0=None, 1=Any word, 2=All words, 3=Exact match, 4=Regular expression, 5=Fuzzy word, 6=Automatic"
    • changedInput schema / properties / matching_algorithm / maximum
      Previous value: -4New value: +6
  2. 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 for a mutation tool. It doesn't say which fields are optional vs required, whether updates are partial or full replacement, what happens on an unknown id, or what permissions are needed.

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?

One tight sentence with no waste, front-loaded with the verb and resource. It is efficient, though arguably terse given the missing behavioral detail.

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 a 5-parameter mutation tool with no annotations, no output schema, and 20% schema coverage, the description is too thin — it should state required vs optional behavior, partial-update semantics, and error conditions. The field list alone leaves significant gaps.

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 only 20%, so the description partially compensates by naming the four updatable attributes (name, color, matching pattern, matching algorithm), which map to color, match, and matching_algorithm. However it adds no format or value semantics — notably nothing about the enum meaning of matching_algorithm beyond the schema's own description.

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?

Clear verb (Update) plus resource (tag) and enumerates the mutable fields, so it's distinguishable from create_tag/delete_tag by name. It never explicitly references siblings, but the operation is unambiguous.

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?

No guidance on when to use this versus bulk_edit_tags or update_document-style alternatives, no prerequisites (e.g. tag must already exist), and no note on whether unspecified fields are left unchanged.

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