Skip to main content
Glama

Shortlist endpoints for a capability

recommend_capability_offers
Read-only

A ranked shortlist of endpoints that do this job, under criteria you choose and the response echoes back. Every term is something the endpoint publishes about itself — its listed price against the going rate, and its own reported demand. Roundhouse does not endorse any provider, and there is no cross-capability ranking. Only confident matches are ever recommended.

Wraps GET /v0/unified/{slug}/recommend. Access: no API key required.

Returns:

  • capability: The registry entry for the job being shortlisted.

  • criteria: Your criteria, echoed — a recommendation whose basis is invisible is an opinion.

  • price: The capability's going rate, so each candidate's index has context.

  • candidates: Ranked endpoints, each with reasons for where it placed.

  • considered: How many confident offers were ranked before filters.

  • excluded: How many were dropped, by which filter.

  • truncated: True when the candidate read hit its cap.

  • catalog_read_at: When the catalog rows behind this shortlist were read.

  • stale: True when that read is over an hour old and a newer one is not in yet.

  • note: What the ranking is and is not — Roundhouse endorses no provider.

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": {
      "slug": "<slug>"
    },
    "name": "recommend_capability_offers"
  }
}

Input Schema

NameRequiredDescriptionDefault
liveNoOnly endpoints answering when last probed.
slugYesCapability slug, from `/v0/unified`.
limitNoRows to return. Clamped to 25; values outside the range are clamped, not rejected.
modelNoRequire the endpoint to name this model family (inference capabilities only).
preferNoWhat to weight: cheapest, most-used, or an even split.balanced
max_priceNoHard ceiling in USDC per call. Endpoints with no published price are excluded when set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well past the annotations (readOnly, openWorld, non-destructive) by disclosing methodology and limits: ranks derive only from what endpoints publish about themselves, only confident matches appear, `truncated` flags a cap hit, `stale` flags a catalog read over an hour old, and `excluded` reports which filter dropped rows. It also states the neutrality posture and the no-API-key access condition. This is exactly the operational 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then route, then access, then a scannable field-by-field returns list. Sentences are tight and each return field earns its line. Minor repetition of the no-endorsement point in the prose and in the `note` field, but it reinforces rather than bloats.

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 six parameters, no output schema, and open-world behavior, the description carries the full burden and does so: it documents every returned field, freshness semantics, truncation and exclusion counts, and the absence of authentication. An agent can call this and interpret the response correctly without anything else.

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 coverage is 100%, so the schema already defines `live`, `slug`, `limit`, `model`, `prefer`, and `max_price`, including the clamping and unpriced-endpoint exclusion rules. The description adds framing for the echoed `criteria` and the role of `price` as ranking context, but does not deepen the meaning of any individual parameter. Baseline 3 is correct here.

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?

Opens with a concrete verb and resource: "A ranked shortlist of endpoints that do this job, under criteria you choose," plus the underlying route GET /v0/unified/{slug}/recommend. That clearly separates it from sibling lookups like get_capability or list_services, which enumerate rather than rank. It loses a point because it never names a sibling outright, leaving the boundary to be inferred.

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: you supply criteria and get confident matches back, and "there is no cross-capability ranking" fences off one misuse. But there is no explicit when-to-use versus get_capability or list_services, and no guidance on when to re-run after a stale catalog read. Adequate but with a clear routing gap.

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