Skip to main content
Glama

Record gap-fill outcome

orangepro_record_run

Record an agent's test-writing attempt as static diagnostics and Linked coverage edges; use scoped re-prove for TS/JS paths to track coverage before public proof.

Instructions

Record an agent test-writing attempt as static diagnostics. When test_path is provided for TS/JS, OrangePro first tries scoped deterministic re-prove; otherwise it re-analyzes the repo. Static hard COVERS edges render as Linked; public Proven requires orangepro_prove.

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

Input Schema

NameRequiredDescriptionDefault
modelNoModel name used by the agent/generator, if any.
run_idNoOptional caller-supplied run id. Defaults to a local monotonic id.
sourceNoSource checkout to re-analyze. Defaults to workspace.
vacuousNoWhether the agent judged the test vacuous/non-assertive. Advisory only.
providerNoModel provider used by the agent/generator, if any.
target_idNoOptional graph target id that must resolve to exactly one hard-linked CodeSymbol.
test_pathNoWorkspace-relative test file the agent just wrote. Enables scoped deterministic re-prove for TS/JS.
workspaceNoLocal workspace root. Defaults to the current directory.
agent_passNoWhether the agent-reported test command passed. Advisory only.
evidence_idsNoGenerated-test/evidence ids tied to this attempt. Metadata only.
target_symbolNoExact CodeSymbol external id, e.g. sym:svc/add.go#Add. Preferred.
prompt_versionNoPrompt or workflow version used, if any.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Addedv0.2.59

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, idempotentHint=false, destructiveHint=false. The description adds real behavioral context beyond that: it may trigger a repo re-analysis, it performs a scoped deterministic re-prove for TS/JS test paths, and it explains how results are classified (Linked vs Proven). That is meaningful disclosure for a non-read-only 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 sentences, front-loaded with the core action, then the conditional behavior, then the output semantics. Dense with domain jargon but no filler sentences; each sentence carries information.

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?

For a 12-parameter, non-read-only tool with no output schema, the description covers the main behavioral branches and the Linked/Proven distinction. However, it does not describe what the recorded result looks like or how the many optional metadata parameters (model, provider, evidence_ids, prompt_version) affect behavior, leaving some gaps.

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 description coverage is 100%, so all 12 parameters are already documented in the schema. The description reinforces test_path's effect (enabling scoped deterministic re-prove) but adds little beyond what the schema field description already says. Baseline 3 is appropriate.

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 opens with a specific verb+resource: 'Record an agent test-writing attempt as static diagnostics.' It also distinguishes itself from orangepro_prove by noting that public Proven requires that sibling. The jargon ('static hard COVERS edges', 'Linked') is domain-specific but the core action is identifiable.

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?

It gives a conditional behavior: when test_path is provided for TS/JS it does scoped deterministic re-prove, otherwise it re-analyzes the repo. That implies when the tool is useful, but it never states explicitly when to choose this over siblings like orangepro_explain_test or orangepro_generate_tests, nor any exclusions.

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