Skip to main content
Glama

post_test_result

Store the scored result of a test case run after evaluating the model response. Provide a quality score from 0 to 100 with reasoning to track regression status.

Instructions

Store the scored result of one test case run.

Call after you run a test case against the model and evaluate the response. This makes the result visible in the UI and is used by get_regression_status.

Score 0–100 using this scale: 90–100: Correct, complete, well-structured — exceeds target. 70–89: Correct and complete — minor gaps or style issues. 50–69: Partially correct — key points present but missing important details. 30–49: Mostly wrong — one or two relevant points but fundamentally off. 0–29: Completely wrong, off-topic, or refused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspaceIdYes
testCaseIdYesID from get_workspace_state testCases
responseYesThe full model response
scoreYesQuality score 0–100
reasoningYesWhy this score — what worked, what failed
modelYesModel used, e.g. claude-haiku-4-5-20251001
Behavior4/5

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

Without annotations, the description discloses that the tool stores a result, makes it visible in the UI, and is used for regression status. It includes a detailed 0-100 scoring scale, which adds behavioral context beyond a simple store operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loaded with purpose and usage. The scoring scale is integrated efficiently without unnecessary words. Every sentence earns its place.

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

Completeness4/5

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

Given the tool's simplicity (store operation, 6 required params, no output schema), the description covers purpose, usage, and scoring. It is nearly complete, though it could mention idempotency or overwriting behavior, but that is not essential.

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

Parameters4/5

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

Schema coverage is 83% (5 of 6 params have descriptions). The description adds value by explaining the scoring scale for the 'score' parameter and specifying that 'testCaseId' comes from 'get_workspace_state testCases', enhancing understanding beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'store' and the resource 'scored result of one test case run'. It also distinguishes from sibling tools like get_regression_status and add_test_cases by specifying it is for storing a single test result.

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?

The description explicitly says 'Call after you run a test case against the model and evaluate the response.' and notes that the result is used by get_regression_status, providing clear context. It does not explicitly exclude alternatives, but the guidance is strong.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jurek-f/prompt-lab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server