Skip to main content
Glama

recommend_stack

Read-only

Design an API stack — the best-rated catalog provider per capability, assembled into a stack. The Understanding preview is the top pick per capability; the full answer adds alternatives, per-pick artifact gaps, and an exportable APIs.json + Arazzo hint. Decompose the domain into capabilities first, then pass them here. Priced B2 (cross-catalog synthesis) — $0.05 per call under pay-as-you-go; included in Understanding and Influence. See apis://prices.

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": "recommend_stack"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoOptional region slug to prefer, e.g. europe.
contextNoOptional: one sentence on why you are asking. Never used to rank; read only if a result is wrong.
applicationNoAn application category id (e.g. crm-sales): seeds the stack from what that category's leading apps actually use; a capability whose apps use only unprofiled providers gets a marked substitution.
capabilitiesNoThe capabilities the stack needs, e.g. ["payments","email","identity","observability"]. Optional when application is given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / application
      Added value: +{
      +  "description": "An application category id (e.g. crm-sales): seeds the stack from what that category's leading apps actually use; a capability whose apps use only unprofiled providers gets a marked substitution.",
      +  "type": "string"
      +}
    • changedInput schema / properties / capabilities / description
      Previous value: -"The capabilities the stack needs, e.g. [\"payments\",\"email\",\"identity\",\"observability\"]."New value: +"The capabilities the stack needs, e.g. [\"payments\",\"email\",\"identity\",\"observability\"]. Optional when application is given."
    • removedInput schema / required
      Removed value: -[
      -  "capabilities"
      -]
  2. Changed1 schema field changed
    • changedInput schema / properties / context / description
      Previous value: -"Optional: why you are asking. One sentence — the task you are trying to complete, or what you expect to get back. Never included in the answer and never used to rank; it is read only when a result turns out to be wrong, which is when knowing the intent is what makes the report actionable."New value: +"Optional: one sentence on why you are asking. Never used to rank; read only if a result is wrong."
  3. Changed1 schema field changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Optional: why you are asking. One sentence — the task you are trying to complete, or what you expect to get back. Never included in the answer and never used to rank; it is read only when a result turns out to be wrong, which is when knowing the intent is what makes the report actionable.",
      +  "type": "string"
      +}
  4. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say readOnly and closed-world; the description goes well beyond them by disclosing what the preview returns versus the full answer (alternatives, per-pick artifact gaps, exportable APIs.json + Arazzo hint), the substitution marking behavior, and the cost model ($0.05/call, B2 tier, included in Understanding and Influence). That is exactly the extra context annotations cannot carry.

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?

Front-loads the core definition, then the output composition, then the workflow prerequisite, then pricing — a sensible order with no filler. The pricing sentence is dense but earns its place because cost gates whether an agent should call it repeatedly.

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

Completeness5/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 compensates by describing the return shape (top pick per capability in preview, alternatives and gaps in full answer) and the exportable artifacts. Combined with the cost and workflow notes, an agent has everything needed to decide whether and how to invoke 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 description coverage is 100%, so all four parameters are already documented, including the region, context non-ranking caveat, application seeding, and substitution behavior. The description adds only the workflow instruction about decomposing into capabilities, which is useful but marginal against a fully documented schema.

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?

States a specific verb and resource ('Design an API stack') plus the core semantics: best-rated catalog provider per capability, assembled into a stack. This clearly distinguishes it from lookup siblings like find_providers or compare_providers, which return raw data rather than a composed recommendation.

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?

Gives an explicit sequencing prerequisite — 'Decompose the domain into capabilities first, then pass them here' — and explains the application-vs-capabilities alternative seeded by a category's leading apps. It stops short of naming a sibling tool to call for the decomposition step, so the agent must infer it.

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