Skip to main content
Glama

Railflag

Set a percentage rollout

set_rollout

Sets the percentage split for the default rule, or for one rule by id. percentages has one number per variation and must add up to 100 (e.g. [80, 20] gives 20% true for a boolean flag). Raising a percentage only adds users.

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": {
      "key": "<key>",
      "environment": "<environment>",
      "percentages": "<percentages>"
    },
    "name": "set_rollout"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
reasonNo
ruleIdNo
environmentYes
percentagesYes
watchPlanIdNoA Release Watch plan from suggest_watch_plan: it starts watching when this change is applied

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover the mutation safety profile (readOnly=false, destructive=false, openWorld=false), so the bar is lower, and the description does add real behavior: the sum-to-100 invariant, the one-number-per-variation mapping, and the monotonic property that raising a percentage only adds users. It does not disclose what happens on lowering (users removed from the variation), permission/auth requirements, or error behavior when percentages do not sum to 100.

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: purpose first, then the constraint, then the worked example — zero filler and front-loaded. The example is the kind of concrete detail that earns its space.

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?

Reading this plus the schema, an agent can call the tool correctly and understands the core invariant and the ramp-up implication, with no output schema to explain. The gaps are the undocumented key/environment/ruleId/reason semantics and the absence of any guidance on lowering a percentage or choosing a rule.

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 only 17% (only watchPlanId is documented in-schema), so the description carries most of the burden. It explains percentages well — one number per variation, must total 100, worked boolean example — which meaningfully reduces misuse of the riskiest parameter, but key, environment, ruleId, and reason get no explanation at all, leaving half the parameters undocumented in both places.

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?

States a specific verb and resource ("Sets the percentage split") plus scope: the default rule or one rule by id. That is enough for an agent to know this mutates percentage distribution rather than targeting rules, though it never names a sibling (e.g. toggle_flag for 0/100 or update_targeting for rule structure) so the boundary is inferred rather than stated.

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?

No explicit when-to-use / when-not guidance or alternatives are offered. The clause "Raising a percentage only adds users" implies this is the safe exposure-ramp step, but an agent must infer that from behavior rather than guidance.

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.

Resources