Skip to main content
Glama

Search the results shelf for already-produced results

shelf_search
Read-only

Searches the results shelf: results we already produced (datasets, transcripts, scored trials, research) sold with their full recipe, measured original cost and hashes. Matches every word of q against titles, summaries, tags and recipe fields; no q lists every item. Use it first to check whether a result has been produced already, before paying to produce it again. Use catalogue instead to list the models and jobs that produce new results. Use shelf_buy instead to buy an item you found. Free: searching, previews and item cards are never charged. Auth: none. Read-only; it has no error states of its own (no match = count 0).

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

Input Schema

NameRequiredDescriptionDefault
qNoWords to match (all must match, case-insensitive) in title, summary, tags and recipe fields; omit to list everything.

Output Schema

NameRequiredDescriptionDefault
qNo
countYes
itemsYes
totalsNo
creatorsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "type": "integer"
      +    },
      +    "creators": {},
      +    "items": {
      +      "items": {
      +        "properties": {
      +          "cost": {
      +            "description": "status and original_cost_usd"
      +          },
      +          "demand": {},
      +          "id": {
      +            "type": "string"
      +          },
      +          "listing_types": {},
      +          "offers": {
      +            "description": "output / recipe offers with on_sale, price_usd, files, bundle_sha256"
      +          },
      +          "preview_url": {},
      +          "recipe": {
      +            "description": "the public recipe card"
      +          },
      +          "summary": {},
      +          "title": {}
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "q": {},
      +    "totals": {}
      +  },
      +  "required": [
      +    "count",
      +    "items"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations it discloses billing behavior (searching, previews and item cards are never charged), the absence of authentication, and error semantics ('no error states of its own; no match = count 0'). It also explains the matching rule and that an empty query lists everything, which is real behavioral context rather than restatement.

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 purpose, then cost/auth/error facts in short ordered sentences with no filler. It runs slightly long and repeats the read-only/no-auth information that annotations already convey, but every remaining sentence carries usable selection or billing information.

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 one parameter at full schema coverage, an output schema present, and annotations covering safety, the description supplies the remaining context an agent needs: why to call it first, what it costs, whether auth is required, and what an empty result means. Nothing material is missing.

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% and the single q parameter already documents case-insensitive all-words matching, matched fields, max length and the omit-to-list-everything behavior. The description restates this matching rule in near-identical terms, adding little beyond the schema, so the baseline 3 applies.

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 ('Searches the results shelf') plus the exact content class it searches (datasets, transcripts, scored trials, research) and that each item carries its recipe, cost and hashes. It also explicitly distinguishes itself from catalogue and shelf_buy, so an agent can identify it without opening any 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 an explicit ordering rule ('Use it first to check whether a result has been produced already, before paying to produce it again') and names the two alternatives with the conditions that select them: catalogue for listing producers, shelf_buy for purchasing a found item. No guidance is left to inference.

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