Skip to main content
Glama

suggest_next_tools

AI-powered tool recommendation: given the current tool name, returns the most semantically similar tools to use next, using embedding-based cosine similarity. Returns source: 'unavailable' when no embedding index exists.

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": {
      "currentTool": "<currentTool>"
    },
    "name": "suggest_next_tools"
  }
}

Input Schema

NameRequiredDescriptionDefault
topKNo
currentToolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description bears the full disclosure burden. It usefully reveals a degraded-state signal ('Returns source: unavailable when no embedding index exists') and the similarity method, but omits whether the operation is read-only, whether it depends on an external index being built, and what the response shape looks like beyond the 'source' field.

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 sentences with the core behavior front-loaded and the edge-case return appended. No filler; the only wasted phrase is the 'AI-powered' qualifier, which adds no operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter, read-only lookup with no output schema, the description covers purpose, method, and one failure mode. It falls short on the undocumented topK parameter and the structure of the returned tool list, which an agent needs to interpret results correctly.

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 must compensate for both parameters. It implicitly clarifies 'currentTool' as the tool name to anchor the search, but says nothing about 'topK' — no default, range, or meaning — leaving half the parameters undocumented in both places.

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 and resource ('given the current tool name, returns the most semantically similar tools to use next') and names the underlying mechanism (embedding-based cosine similarity). It is clear what the tool produces, though the 'AI-powered tool recommendation' framing is marketing rather than specification.

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?

'Tools to use next' implies a chaining workflow, so an agent can infer this is called mid-task to discover follow-on tools. However, there is no explicit when-to-use guidance, no mention of when not to call it, and no named alternative or fallback behavior for the agent to choose instead.

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.