Skip to main content
Glama

grape_record_test_result

Records agent-reported test metadata as temporary evidence, capturing command hashes, exit code, timestamps, and pass/fail status for session-aware verification.

Instructions

Record agent-reported test metadata as temporary evidence.

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": {
      "sessionId": "<sessionId>",
      "command": "<command>",
      "commandHash": "<commandHash>",
      "cwd": "<cwd>",
      "exitCode": "<exitCode>",
      "stdoutHash": "<stdoutHash>",
      "stderrHash": "<stderrHash>",
      "startedAt": "<startedAt>",
      "endedAt": "<endedAt>",
      "passed": "<passed>"
    },
    "name": "grape_record_test_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdYes
passedYes
commandYesRaw command used only to verify commandHash; it is not persisted.
endedAtYes
exitCodeYes
sessionIdYes
startedAtYes
testFilesNo
reportedByNo
stderrHashYes
stdoutHashYes
commandHashYes
testFrameworkNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It adds that the metadata is agent-reported and temporary, but it does not disclose validation behavior, duplicate handling, permissions, persistence details, or what happens to the raw command beyond the schema note that it is not persisted.

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?

The description is a single front-loaded sentence with no filler, and it communicates the core action efficiently. It could be stronger if it used additional structure to expose the key required inputs and behavioral constraints.

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

Completeness1/5

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

For a tool with 13 parameters, 10 required, no annotations, no output schema, and very low schema description coverage, this one-sentence description is not complete enough for correct invocation. It omits almost all parameter meaning and behavioral context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 8%, and the description names none of the 13 parameters. It does not explain required values like sessionId, commandHash, cwd, exitCode, the hash fields, timestamps, or passed, so it fails to compensate for the schema gap.

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 states a specific verb and resource: record agent-reported test metadata as temporary evidence. It is clear what the tool does, but it does not differentiate itself from sibling recorders such as grape_record_command_result.

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?

The description gives no explicit when-to-use guidance, no when-not-to-use guidance, and no alternatives among the sibling recording tools. It only implies a proof/evidence workflow through the phrase 'temporary evidence'.

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