Skip to main content
Glama

topic_scorer_gate

Pass/fail check: does the text rank within the top min_rank categories of its target taxonomy? Returns pass, the target's rank and gap to #1, the taxonomy's top five, and the unused phrases to work in. Use it as a content-pipeline gate. Paid, $0.05/call; read-only and safe to retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNoScore the whole text as the mean of 8,192-char chunks instead of only the first 8,192 chars.
textYesThe page or draft text to score, as plain text or HTML (tags are stripped). 1 to 32768 characters. URLs are not fetched; send the content.
phrasesNoPhrase bank size for the target category (0 skips it).
categoryYesTarget category id, full path, or a unique path substring within the taxonomy (use topic_scorer_find to look one up).
min_rankNoHighest passing rank.
taxonomyYesTaxonomy of the target category.

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries full responsibility and it delivers: it discloses that the tool is paid at $0.05/call, read-only, and safe to retry, and it spells out the pass/fail result plus returned diagnostic data. This goes well beyond the schema, which only defines parameters.

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 terse sentences front-load the decision-purpose, then the return payload, then the usage/cost/safety note. No filler or repeated schema content.

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?

The description explains purpose, pass condition, return data, cost, and retry safety, which is strong for a stateless scoring tool. However, there is no output schema and the description does not fully specify the shape or types of 'pass', rank, gap, top five, or unused phrases, so an agent must infer some return structure.

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%, so the parameters are already fully documented. The description mentions min_rank and the target taxonomy but does not add semantic detail beyond the schema, which is the baseline for this dimension.

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?

The first sentence names a specific verb and object ('Pass/fail check: does the text rank within the top min_rank categories of its target taxonomy?') and the second lists the exact return values. This clearly distinguishes it from scoring, lookup, and taxonomy-list siblings by framing it as a gate.

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?

'Use it as a content-pipeline gate' gives a clear intended context, and 'read-only and safe to retry' adds operational guidance. It does not explicitly state when to prefer a sibling tool such as topic_scorer_score, so exclusion guidance is implicit rather than explicit.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: taxonomy discovery, category lookup, scoring, pass/fail gating, and phrase bank retrieval. Overlaps like score's included phrase bank are explicitly separated from the standalone phrases tool.

Naming Consistency4/5

All names share the consistent topic_scorer_ prefix and snake_case style, making them easy to group. The suffix mixes verbs (find, gate, score) with nouns (phrases, taxonomies), which is a minor deviation from a strict verb pattern.

Tool Count5/5

Five tools is well-scoped for a focused topic-scoring service. Each tool earns its place and there is no obvious bloat or redundancy.

Completeness5/5

The surface covers the full workflow: discover taxonomies, find categories, score text, gate content, and retrieve phrase banks. No critical operation appears to be missing for the stated purpose.

Resources