Skip to main content
Glama

update_topic

Update an existing topic's name, type, author, description, tags, or review status while leaving unspecified fields unchanged.

Instructions

Update fields on an existing topic. Only fields you provide are changed — leave everything else empty to keep current values. The same rules as log_topic apply: concepts are named as principles, and descriptions, tags, and concept names describe the subject, not the person.

Args: name: Current exact name of the topic to update. new_name: Rename the topic to this. type: Correct the type — 'book', 'article', 'media', 'concept', or 'practice'. author: Set or correct the author name. description: Set or update the description. tags: Replace the current tags with this list. Subject areas only. reviewed: Set True only if you were told a field was too personal and have confirmed the wording is fine as written.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
tagsNo
typeNo
authorNo
new_nameNo
reviewedNo
descriptionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

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 delivers meaningfully: it discloses that the operation is non-destructive by default (untouched fields keep their values), that `tags` is an overwrite rather than an append ("Replace the current tags"), and that `reviewed` is gated on a prior warning. It omits failure behavior when `name` doesn't match an existing topic and any permission or auth requirements.

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?

The partial-update rule and content conventions are front-loaded, and the per-argument list is tight with no filler. The cross-reference "The same rules as log_topic apply" is slightly wasteful since it forces the agent to consult another definition, but each line otherwise earns its place.

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?

For a seven-parameter mutation tool with zero annotation coverage and a 0% schema coverage, the description supplies close to what an agent needs, including domain conventions (concepts named as principles, attributes describing the subject not the person). Return values are covered by the output schema, leaving only error handling and name-lookup guidance unaddressed.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must do all the work, and it does: every one of the seven parameters is explained, including the enum values for `type` ('book', 'article', 'media', 'concept', 'practice') that the schema does not declare, plus the crucial distinction between `name` (lookup key) and `new_name` (rename target).

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 opening sentence gives a specific verb and resource ("Update fields on an existing topic") and immediately clarifies partial-update semantics, which distinguishes it from log_topic's apparent create behavior. It stops short of explicitly naming which sibling to use instead for other topic operations, but the scope 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 Guidelines4/5

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

The description states the core operating rule — provide only the fields you want changed, omit the rest to preserve current values — and attaches a precondition to the risky `reviewed` flag ("Set True only if you were told a field was too personal and have confirmed the wording is fine"). It does not address when to prefer this over deleting and re-creating, or how to discover a topic's exact current name first.

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