Skip to main content
Glama

get_results

GET /queries/id/results: results, the query's best items under any of prefixes (e.g. ["tools/"]; all items by default), best first, each with its score, DNA's estimate of the grade you would give it (on the grades' scale once the grid has some; before, only the order means anything), as list_items shows it, without content. ungraded: leave out the items you already graded for this query. Grade what you judged with put_grade: the results learn from it within a few seconds.

Input Schema

NameRequiredDescriptionDefault
idYes
limitNo
api_keyNo
prefixesNo
ungradedNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / additionalProperties
      Added value: +true
    • removedOutput schema / properties
      Removed value: -{
      -  "result": {
      -    "items": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "title": "Result",
      -    "type": "array"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "result"
      -]
    • changedOutput schema / title
      Previous value: -"get_resultsOutput"New value: +"get_resultsDictOutput"
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses sort order (best first), the meaning and provisional nature of `score` (only ordering is meaningful before the grid has grades), that items are returned without content, and that results adapt to grades within seconds. It omits pagination/limit behavior and any auth expectations, so it is not complete.

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?

The content is front-loaded: the endpoint and what is returned come first, then the score semantics, then the filtering flag and the follow-up workflow. It packs a lot into a few clauses, though the long run-on sentence with nested parentheticals is harder to parse than it needs to be.

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?

An output schema exists, so return-shape detail is not strictly required, and the description still clarifies sorting and score interpretation. But for a five-parameter, no-annotation tool it leaves `limit` and `api_key` undefined and says nothing about result-set size or failure modes, so it is only adequate.

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 must compensate. It explains `prefixes` with an example and default ("all items by default") and explains `ungraded` as excluding already-graded items; `id` is implied by the path shown. However `limit` (default 32) and `api_key` are never explained anywhere, leaving real gaps.

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?

The description names a concrete verb/resource: it returns a query's best-matching items, best-first, each with a score, and explicitly frames the output as what list_items shows but without content. That distinguishes it from the generic list_items sibling. It is dense and backtick-laden rather than plainly stated, which keeps it from 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: `ungraded` exists for the case where you have already graded items, and the final sentence tells the agent to grade results with put_grade so the results improve within seconds. There is no explicit 'use this when / not when' framing and no direct comparison against list_items or get_item as alternatives.

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