Skip to main content
Glama

Merge two topics

merge_topics
Destructive

Moves every entry from the source topic into the target and archives the source. Both must have the same type and unit; convert first with update_topic and unitFactor if the units differ. Ask the person first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceIdYesThe topic to fold in; it is archived afterwards.
targetIdYesThe topic that keeps everything.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYes
movedFromYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the bar is lower. The description still adds real value by spelling out the destructive scope (source archived, entries relocated) and an explicit human-confirmation requirement that annotations do not convey. It does not say whether the merge is reversible.

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 core effect before the preconditions and the confirmation policy. No sentence is filler.

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?

With an output schema present, return values need not be explained, and the key constraints (same type/unit, archival side effect, ask the person) are all covered for a two-parameter tool. Only failure behavior and permission requirements are unaddressed.

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 description coverage is 100% and the schema descriptions ('it is archived afterwards', 'the topic that keeps everything') say the same thing the description does. The description adds no format, constraint, or edge-case detail beyond the schema, so the baseline 3 applies.

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?

Names a specific verb and both resources: it moves every entry from source into target and archives the source. This is more precise than the name 'merge', but it never contrasts itself with adjacent siblings like archive_topic or delete_entry, so sibling differentiation is left to inference.

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?

Gives an explicit precondition (same type and unit) and names the alternative route when the precondition fails (update_topic with unitFactor), plus a confirmation policy. It stops short of stating when NOT to use it, e.g. when a plain archive_topic is what's wanted.

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