Skip to main content
Glama

Set a test's minimum pass rate

set_minimum_pass_rate
Destructive

Set the lowest pass rate a saved test may recommend a model at, from 0 to 100 percent of its cases, or null for none. A model below it is never recommended, and rechecks and webhooks keep to it. Runs nothing, free.

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": {
      "test_id": "<test_id>",
      "minimum_pass_rate": "<minimum_pass_rate>"
    },
    "name": "set_minimum_pass_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
test_idYes
minimum_pass_rateYesPercent of cases, such as 100 or 85. Null takes it off.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, so the mutation nature is already known; the description adds real value on top by explaining the downstream effect on recommendations, rechecks and webhooks, and by stating 'Runs nothing, free' so the agent knows no test execution is triggered. It stops short of saying whether existing recommendations are retroactively invalidated.

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?

Three short sentences, front-loaded with the core behavior, followed by the enforcement scope and the cost/no-execution note. Nothing is redundant and every sentence carries information.

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?

For a two-parameter mutation tool with annotations and no output schema, the description covers effect, enforcement across rechecks and webhooks, the null reset, and that nothing is run. Only permission requirements and retroactive effect on existing recommendations are unstated.

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 only 50%, with test_id undocumented, but the description compensates by restating the 0-100 percent semantics and clarifying that null means 'takes it off', which adds meaning beyond the schema's 'Null takes it off' phrasing. test_id's meaning ('a saved test') is only loosely implied.

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 gives a specific verb and resource: it sets the lowest pass rate a saved test may recommend a model at, with the 0-100 range and null option stated up front. It is clearly distinct from read/list siblings, though it does not explicitly contrast with the related set_rules tool, which likely also gates recommendations.

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?

Usage context is implied by the effect statement ('A model below it is never recommended, and rechecks and webhooks keep to it'), and 'null for none' tells the agent how to remove the constraint. There is no explicit when-to-use versus alternatives guidance, such as when to prefer this over set_rules.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.