Skip to main content
Glama

Attach rubric

attach_rubric
Destructive

Score a workflow's runs with a rubric (or, with no rubric, stop scoring them).

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": {
      "workflow": "<workflow>"
    },
    "name": "attach_rubric"
  }
}

Input Schema

NameRequiredDescriptionDefault
rubricNoThe rubric's name or id.
workflowYesThe workflow's name or id.
judge_everyNoJudge its first finished run, then 1 run in this many (1: every run). For a workflow that runs often: each judged run is one more model call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotent=false, so the safety burden is partly carried. The description adds the important behavioral fact that omitting `rubric` stops scoring entirely — a meaningful state change an agent could not infer from the schema. It leaves open whether existing scores are retained or what happens if a rubric is already attached.

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?

A single sentence with the primary action front-loaded and the edge case handled in a compact parenthetical. No redundant restatement of the tool name or title.

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 three-parameter mutation tool with no output schema, the definition covers the main effect and the detach path adequately. It is slightly incomplete on side effects such as overwriting an existing rubric or the fate of prior scores.

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 100%, so baseline is 3. The description goes beyond the schema by explaining the semantics of omitting the optional `rubric` parameter, which the schema only marks as non-required. It does not elaborate on `judge_every` beyond what the schema already says.

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 object: score a workflow's runs with a rubric, plus the inverse operation when `rubric` is omitted. It is immediately distinguishable from a rubric-CRUD sibling like save_rubric. It stops short of naming a sibling explicitly, which keeps it at 4 rather than 5.

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 gives clear context for both modes of use: supply a rubric to begin scoring, omit it to stop scoring. That is an actionable when-to-use signal. It offers no exclusions or guidance on when scoring is inappropriate.

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.