Skip to main content
Glama

Query Outputs

query_outputs

Query computation outputs by computation ID, result name, domain, or SQL LIKE key pattern to retrieve stored numerical results and artifacts.

Instructions

Query computation outputs.

key_pattern uses SQL LIKE (e.g., 'fit.%' for all fit values, '%.target%' for a specific system).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
domain_keyNo
key_patternNo
result_nameNo
computation_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and falls short: it never states that this is a read-only operation, that all five filters are optional and combine as an AND, or that limit defaults to 100. The output schema covers the return shape, which relieves part of the load, but the query semantics remain undisclosed.

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?

Two short sentences with no filler, and the pattern-matching note is useful and placed early. The brevity is appropriate; the problem is coverage rather than verbosity.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter query tool with zero schema descriptions and no annotations, the description covers one parameter's syntax and nothing else. An output schema exists so return values need not be explained, but filtering semantics, typing, and default behavior are missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters, and the description explains only one of them, key_pattern, via SQL LIKE syntax and two examples. domain_key, result_name, computation_id, and limit get no meaning from either the schema or the prose, so a caller cannot tell how they interact or what values are valid.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb-plus-resource phrasing "Query computation outputs" is clear enough in isolation, but it does not distinguish this tool from siblings like query_results or query_papers, and it never says what an "output" is relative to a "result".

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?

No when-to-use or when-not-to-use guidance is given, and no alternative is named. The implicit framing is a read/query tool, leaving the agent to infer that query_results is the sibling to use for a different object type.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.