Skip to main content
Glama

Sor Hypotheses

sor_hypotheses

Analyze hypothesis outcomes for a layer by grouping experiments into kept, discarded, and failed, and report keep rate.

Instructions

Analyze which hypotheses worked and which didn't for a layer.

Groups experiments by hypothesis and shows: successful (kept), no improvement (discarded), and failed. Includes keep rate.

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_hypotheses"
  }
}

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/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; calling it 'Analyze' implies a read-only operation, and it does disclose the aggregation shape (grouped by hypothesis with a keep rate). However, it never states that it reads from the filesystem via project_dir, whether it is safe/non-mutating, or what happens with a layer that has no experiments.

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 core action, with the output breakdown appended as a useful enumeration. 'Includes keep rate' is slightly tacked on but still earns its place; little wasted wording overall.

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 description's explanation of return categories is largely redundant rather than necessary. The real gap is at the input side: a two-parameter tool with zero schema coverage and an entirely unexplained project_dir leaves the agent under-informed for a simple read operation.

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 for both parameters. It only implicitly covers 'layer' ('for a layer') and says nothing at all about project_dir, leaving the agent to guess that it is a path to the project root and that it defaults to the current directory.

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 specific verb and resource ('Analyze which hypotheses worked... for a layer') and enumerates the output categories (kept, discarded, failed), so an agent knows what it produces. It does not distinguish itself from the nearby sibling sor_results, which by name alone could plausibly cover the same experiment outcomes, so sibling differentiation is missing.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no alternative named. The only implicit hint is the precondition of 'a layer' with experiments already run; nothing tells the agent to prefer sor_results or sor_score_history in any situation.

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