Skip to main content
Glama

Create topic

create_topic

Create a subscription topic (name, description, default_subscription, visibility). Topic ids scope sends and broadcasts.

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>",
      "default_subscription": "<default_subscription>"
    },
    "name": "create_topic"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
visibilityNo
descriptionNo
default_subscriptionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the mutation/safety profile is covered by structured data. The description adds nothing further: no mention of uniqueness constraints on name, no indication of what default_subscription means behaviorally for contacts, and no statement of what is returned (presumably a topic id).

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 core action front-loaded and no filler. The second sentence is terse enough to be slightly ambiguous ("Topic ids scope sends and broadcasts") but it is not wasted space.

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?

With no output schema and 0% schema description coverage, the definition should say more: what gets created and returned, how a newly created topic interacts with contacts/sends, and what the enum values imply. For a four-parameter mutation tool it leaves meaningful gaps, though the annotations relieve it of explaining the safety profile.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden, yet it only echoes the parameter names inside parentheses. It never explains the semantics of the default_subscription enum (opt_in vs opt_out) or the visibility enum (private vs public), which are precisely the choices an agent must reason about. The one useful addition, that topic ids scope sends, relates to the returned id rather than to any input parameter.

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 specific verb and resource ("Create a subscription topic") and enumerates the fields involved, and the name itself separates it from update_topic/delete_topic/list_topics siblings. The added clause about topic ids scoping sends and broadcasts clarifies the resource's role. It could be sharper about how it differs from the update path, but an agent can identify the operation unambiguously.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no alternative is named (e.g., update_topic when the topic already exists, or delete_topic). The remark that topic ids scope sends and broadcasts implies a precondition for other operations but never states when an agent should pick this tool.

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.