Skip to main content
Glama

search_stacks

Read-onlyIdempotent

Find agent stacks by problem domain or text. A query is split into words and any of them may match, against the name, the copy, and the prompt. When nothing matches, the reply is labelled and filled with the most established stacks.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_stacks"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many stacks to return (default 10).
queryNoWhat the agent needs to do, in your own words. Split into words; any may match.
topicNoA problem domain id, e.g. software-devops.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Text matched against the stack name and summary."New value: +"What the agent needs to do, in your own words. Split into words; any may match."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: matching is word-split with OR semantics across name, copy and prompt, and — importantly — when nothing matches the reply is labelled and backfilled with the most established stacks, warning the agent that results may not satisfy the query.

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?

Three short sentences, front-loaded with the purpose, then matching behavior, then the fallback. No filler. 'the copy' is mildly opaque jargon that costs a fraction of clarity.

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?

No output schema, so result shape falls on the description, and it only partly delivers: it explains matching and the empty-result fallback but says nothing about ordering/ranking (are results relevance-sorted? which is 'most established'?), whether query and topic are ANDed, or how the fallback interacts with `limit`. Adequate but with clear gaps for a 3-param discovery tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by explaining the matching semantics of `query` (split into words, any may match, which fields are searched) and framing `topic` as a problem-domain id. `limit` is left entirely to the schema, which is acceptable.

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+resource: 'Find agent stacks by problem domain or text.' An agent can distinguish this (discovery/search) from the single-resource siblings get_stack and get_manifest without opening the schema. It stops short of naming those siblings explicitly, so it falls just short of a 5.

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 rather than stated: this is the entry point when the agent doesn't already know a stack id, whereas get_stack/get_install_plan presumably operate on a known one. No explicit when-not guidance, no statement on whether query and topic can be combined or how they interact.

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