Skip to main content
Glama

cluster_keywords

Read-onlyIdempotent

Group a pasted keyword list (newline/comma separated) into topical clusters with a suggested pillar keyword per cluster. Deterministic; no search volumes.

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": {
      "keywords": "<keywords>"
    },
    "name": "cluster_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordsYesKeywords, one per line or comma separated
min_shared_termsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context beyond them: 'Deterministic' tells the agent results are reproducible, and 'no search volumes' warns that no metric data comes back. It still says nothing about how many clusters are typical, ordering, or failure behavior on unusable input, so the added value is real but modest.

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?

Two short sentences, purpose first, then the determinism/no-metrics caveat. No filler, nothing repeated, 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?

For a two-parameter tool with no output schema, the description covers purpose, accepted input format, and the shape of the result (clusters plus a suggested pillar keyword), plus a key limitation. The one substantive omission is any guidance on min_shared_terms, which keeps it from being fully complete.

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?

Only the 'keywords' parameter is documented in the schema (50% coverage), and the description merely restates its accepted delimiters. The second parameter, min_shared_terms, is unexplained in both schema and description, yet it is the knob that controls clustering granularity -- exactly the semantic an agent would need to set it correctly.

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 gives a specific verb ('Group') and resource ('a pasted keyword list') and names the output ('topical clusters with a suggested pillar keyword per cluster'), which clearly separates it from sibling tools like classify_search_intent or find_keyword_cannibalization. It stops short of explicitly naming a sibling to contrast with, so it is clear but not maximally differentiated.

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 by the input contract ('a pasted keyword list (newline/comma separated)'), telling the agent this tool expects raw user-supplied keywords. There is no explicit when-to-use/when-not, no named alternative for related tasks such as intent classification or cannibalization checks, and no stated prerequisites.

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.