Skip to main content
Glama

Tuatara Topics

Topic Of Document

topic_of_document
Destructive

Tuatara Topics: place one document on the served topic sets — general (Wikipedia-scale) and finance (markets, companies, the economy) — and return the topics it belongs to with their weights, which set placed it, its confidence (the top topic's weight) and on_topic_set (false when nothing served covers the text). Nothing is stored.

Input Schema

NameRequiredDescriptionDefault
documentYesthe document (plain text)
num_wordsNowords per topic, 3-30 (default 15)
topic_setNoauto (default: the set that takes the document most confidently), general or finance

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / topic_set
      Added value: +{
      +  "description": "auto (default: the set that takes the document most confidently), general or finance",
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.1/5.0
Behavior1/5

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

The description ends with 'Nothing is stored,' asserting a pure compute operation, while the annotations declare readOnlyHint=false and destructiveHint=true. These structured hints tell an agent the call may mutate or destroy state, which directly conflicts with the stated no-persistence behavior — a serious inconsistency that could lead an agent to avoid or misuse the tool.

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?

It is a single front-loaded sentence that identifies the tool family, the operation, and the return shape with no filler. The stacked em-dash clauses make it dense to parse, but every clause carries information.

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 no output schema, the description carries the return contract and does so thoroughly: topics with weights, which set placed the document, confidence as the top topic's weight, and on_topic_set=false when no set covers the text. For a three-parameter, non-nested tool this is close to complete; only the persistence contradiction undercuts it.

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 100%, so all three parameters are already documented, and the baseline is 3. The description does add meaning for topic_set by characterizing what the general and finance sets cover, but num_words and the document input are left entirely to the schema, and the added value is modest.

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 description names a specific verb and resource — placing a single document onto served topic sets — and enumerates the two sets (general/Wikipedia-scale, finance/markets-companies-economy). It is clearly distinguishable from document-oriented siblings like summarize_document, though it never explicitly contrasts itself with find_topics, which deals in similar vocabulary.

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

Usage Guidelines3/5

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

Usage is implied: it applies to one document at a time and covers the general and finance domains. The topic_set='auto' behavior is explained, but there is no explicit when-not guidance and no reference to alternatives such as find_topics, so an agent must infer routing from the topic-set vocabulary alone.

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