Skip to main content
Glama

Sor Run Oracle

sor_run_oracle

Run a layer's oracle to check current test status without git ratcheting. Returns COMPOSITE scores for scored layers or PASS/FAIL, helping verify state before changes.

Instructions

Run the oracle for a layer without ratcheting (no git commit/reset).

Returns the test result: COMPOSITE score for scored layers, PASS/FAIL otherwise. Useful for checking current state before making changes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "layer": "<layer>"
    },
    "name": "sor_run_oracle"
  }
}

Input Schema

NameRequiredDescriptionDefault
layerYes
project_dirNo.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the most important behavioral fact: no git commit/reset occurs, so the run is non-mutating with respect to version control. It says nothing about execution cost, side effects on working files, failure modes, or whether it runs tests in isolation, leaving meaningful gaps for an unannotated tool.

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?

Three short sentences, front-loaded with the action and its distinguishing constraint, then the return shape, then the use case. Nothing is redundant, though the return-shape sentence partly duplicates what the output schema already conveys.

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 the brief return description is a bonus rather than a necessity. However, for a tool with zero annotation coverage and zero schema description coverage, the definition leaves both parameters underspecified and says little about runtime behavior, which is a gap for an execution tool.

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%, so the description must compensate, yet it only gestures at 'layer' with no format, allowed values, or example, and never mentions 'project_dir' at all. An agent cannot infer what a layer string looks like or how project_dir affects execution.

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 ('Run the oracle for a layer') and adds the key qualifier 'without ratcheting (no git commit/reset)', which implicitly separates it from the mutation-oriented ratchet sibling. It stops short of naming an alternative tool outright, so it's clear but not maximally differentiating.

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

Usage Guidelines4/5

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

'Useful for checking current state before making changes' supplies a concrete when-to-use scenario, and the 'without ratcheting' clause signals the contrasting case where a ratchet run would be appropriate. No explicit exclusion or named alternative is stated, so the routing guidance is contextual rather than fully prescriptive.

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