Skip to main content
Glama

Sor Audit

sor_audit

Generates a layer audit report covering summary stats, score progression, convergence, improvement rate, estimated iterations to target, and hypothesis breakdown to track optimization progress.

Instructions

Generate a comprehensive audit report for a layer.

Includes: summary stats, score progression, convergence analysis, improvement rate, estimated iterations to target, and hypothesis breakdown.

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

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 carries the full behavioral burden, and 'generate' is ambiguous about whether anything is written to disk or whether the operation is strictly read-only. It does however disclose the substantive contents of the report (convergence analysis, estimated iterations to target, hypothesis breakdown), which helps the agent judge relevance. Side-effect, cost, and precondition behavior remain unstated.

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 action and followed by a scannable list of report sections. The content list slightly duplicates what the existing output schema already conveys, but the definition is otherwise free of padding.

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 values needn't be explained, and the description supplies a useful table of contents for the report. However, with zero parameter documentation, no annotations, and no situational guidance, an agent still lacks what it needs to pick this over sibling reporting tools.

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 and does not: it alludes to a 'layer' but never states the expected identifier format, and 'project_dir' is left entirely unexplained in both schema and description. An agent must guess at both parameter values.

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?

Names a specific verb and resource ('Generate a comprehensive audit report for a layer') and enumerates the report's contents, so the agent knows precisely what it produces. It does not distinguish itself from overlapping siblings such as sor_status, sor_score_history, or sor_hypotheses, which keeps it below 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 Guidelines2/5

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

There is no guidance on when to reach for this audit versus sor_status or sor_score_history, nor any stated precondition that the layer must already exist and have accumulated results. The only implicit cue is the phrase 'for a layer', which is not a usage rule.

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