Skip to main content
Glama

Rename a topic

rename_topic
Idempotent

Rename one topic, after the user agrees. Its prompts and past results stay under it, so prefer this to delete_topic and create_topic when only the name is wrong. Runs at once and returns the new name; refused if another topic in the project already has the name, or if topic_id is not in this project.

Input Schema

NameRequiredDescriptionDefault
nameYesThe new name, unique in the project.
topic_idYesA topic id from read_prompt_portfolio topics or create_topic.
project_idYesA project id that list_projects returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / topic_id / description
      Previous value: -"The topic id create_topic returned."New value: +"A topic id from read_prompt_portfolio topics or create_topic."
  2. Changed3 schema fields changed
    • addedInput schema / properties / name / description
      Added value: +"The new name, unique in the project."
    • addedInput schema / properties / project_id / description
      Added value: +"A project id that list_projects returned."
    • addedInput schema / properties / topic_id / description
      Added value: +"The topic id create_topic returned."
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond annotations (which only say non-read-only, idempotent, non-destructive): it discloses that data is preserved ("prompts and past results stay under it"), that it executes immediately, that it returns the new name, and the two refusal conditions (name collision, foreign topic_id). This is exactly the mutation-safety context an agent needs.

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?

Three short sentences, front-loaded with the action, then the sibling routing, then execution/failure behavior. No filler; every clause carries information an agent would otherwise have to guess.

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

Completeness5/5

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

No output schema exists, and the description supplies the return value ("returns the new name") plus failure modes. For a 3-required-param mutation tool, an agent has everything needed to decide, call, and interpret the result.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds a real constraint not obvious from the schema: topic_id must belong to the given project, and name must be project-unique or the call is refused — meaningful semantics beyond field types.

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?

Specific verb+resource: "Rename one topic," with an explicit scope of exactly one topic. It distinguishes itself from the two nearest siblings (delete_topic, create_topic) by naming them and stating the condition that selects this tool.

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

Usage Guidelines5/5

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

Explicit alternative routing: "prefer this to delete_topic and create_topic when only the name is wrong." It also states a precondition ("after the user agrees"), so the agent knows a confirmation gate applies before calling.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources