Skip to main content
Glama

Sor Results

sor_results

Query experiment results history from results.tsv, returning the last N entries and optionally filtering by layer to review optimization outcomes.

Instructions

Query experiment results history.

Returns the last N entries from results.tsv, optionally filtered by layer.

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

Input Schema

NameRequiredDescriptionDefault
layerNo
last_nNo
project_dirNo.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description must carry the behavioral burden. It does disclose the data source (results.tsv) and the read/return nature of the operation, which signals a safe read, but it says nothing about what happens when the file is absent, whether results are ordered newest-first, or whether long entries are truncated.

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, front-loaded with the purpose and followed immediately by the return shape and filtering option. Nothing is redundant, though the second sentence is terse enough that it verges on under-explaining the parameters.

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

Completeness4/5

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

An output schema exists, so the description need not explain return values, and a small 3-parameter read tool does not demand much more depth. The only real hole is the undocumented 'project_dir' parameter and the absence of any failure-mode note.

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 0%, so all meaning must come from the description, which clarifies 'last_n' as the count of trailing entries and 'layer' as an optional filter. The third parameter, 'project_dir', is never mentioned, and its role in locating results.tsv has to be inferred.

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 gives a specific verb and resource ('Query experiment results history') and anchors it to a concrete artifact ('the last N entries from results.tsv'), which tells an agent this reads a log file rather than computed scores. It does not explicitly distinguish itself from siblings like sor_score_history, so it stops short of 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: this is the tool for inspecting past run results, with optional narrowing by 'layer'. There is no statement of when to prefer sor_score_history or sor_audit instead, and no prerequisites (e.g., whether sor_init must have run) are given.

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