Skip to main content
Glama

Discover tools by describing the job (paid)

discover_smart

looot: COSTS MONEY (paid search of the data API catalog, takes about 1-2 seconds) -- use discover (free, instant) first and only reach for this when a lexical search cannot express the job, e.g. "find someone's work email from their name and company" where no endpoint's own text says "email". Two stages: (1) the free lexical index narrows the whole catalog to a shortlist; (2) ONE typesafe-choice run (TypeSafe's Jev model, billed per input token: about $0.00005 for a typical shortlist, and a call holds at most about $0.0004 before it settles to real usage) judges that shortlist against your useCase and returns the best fit plus a probability for every candidate. candidates comes back ranked by Jev's probability, each row carrying probability and lexicalRank (where the free search had put it). smart carries the winning endpointId, Jev's confidence, and the runId/cost of the judging call -- it appears on your normal run history and bill like any other run, charged to this workspace. Where the server has the job-first skip on, a query the free search already resolves to a single job with a clear top endpoint makes no paid call: smart comes back with model: "job-first", runId: null, costUsd: 0 and reason: "single_job_clear_winner", and candidates keep the free order. If TypeSafe fails, times out, or answers unusably, this NEVER errors: it returns the plain lexical shortlist with smart: null and degraded: { reason, detail }, so you always get an answer. When the free search finds nothing, no paid call is made: degraded.reason is "no_supply_for_job" when no endpoint does the job the use case names (with search_catalog's warnings and unsuppliedJobs), else "no_candidates" (with priceHint when a price filter removed every match). A timed-out judging run is cancelled; it is still billed if it had already reached the provider. Follow up with inspect/run on the chosen endpointId exactly as you would after discover.

Input Schema

NameRequiredDescriptionDefault
queryNo
filtersNo
useCaseYes
candidateLimitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes far beyond the annotations: discloses cost model (per-token billing, ~$0.00005 typical, ~$0.0004 cap, still billed if a timed-out run reached the provider), latency, the two-stage pipeline, the never-errors degraded contract with its specific reason values, and the job-first skip semantics. Annotations only say readOnly=false/openWorld=true/non-idempotent; the description supplies the substantive risk and billing context.

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 money warning and the cheaper alternative, then structures the mechanics as (1)/(2). Dense but nearly every clause carries operational detail; it is long, and a few parentheticals could tighten, but there is little filler.

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?

For a no-output-schema, paid, multi-stage tool it covers return shape (candidates ranked by probability with lexicalRank, `smart` winner/confidence/runId/cost), failure/degradation paths, and billing surface. An agent has everything needed to call it, interpret results, and handle failure.

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 0%, so the description carries the burden. It clarifies `useCase` semantics (the job intent that Jev judges against) and implies `maxPriceMicros` via the priceHint/price-filter note, but never defines `query` vs `useCase`, `candidateLimit`, or the other filter fields. Partial compensation only.

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 precise verb+resource+scope: a paid, two-stage semantic search of the data API catalog that judges a lexical shortlist against a use case. It explicitly distinguishes itself from the sibling `discover` (free, lexical) and names the condition that separates them, so an agent can route without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use ('only reach for this when a lexical search cannot express the job'), the required first step ('use `discover` (free, instant) first'), and a concrete worked example. It also covers when the tool self-skips (single clear job) and what to do after (follow up with inspect/run).

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