Skip to main content
Glama

Forge AI Accountability

Evaluate an agent change and explore cost options

review_agent_workflow
Read-onlyIdempotent

Use Evaluate and Optimise to compare synthetic examples or supplied labeled old/new outputs with the Forge accountability engine. For samples use payload={"sample_mode":"improved"}, or regression/changed_path. For a user-supplied comparison, translate only their supplied actions into this exact format: payload={"workflow":"User test","cases":[{"id":"case-1","expected":{"action":"hold"},"baseline":{"output":{"action":"allow"},"trajectory":[]},"candidate":{"output":{"action":"hold"},"trajectory":[]}}]}. Replace example actions with the user actions; never invent labels or steps. If the user has not said what should happen, ask them in plain English before scoring. The user never needs to write JSON or know these field names. Cases need id, expected.action, baseline.output.action, baseline.trajectory, candidate.output.action and candidate.trajectory. Use empty trajectory arrays when no action steps were supplied. Do not use plain strings for expected/baseline/candidate. Omit usage entirely unless token usage was supplied. If a format error occurs, repair the structure without changing the evidence and retry. A description alone returns a standard preparation checklist, not a measured evaluation. No code runs, external agent calls, changes or deployment. Synthetic prices are unsigned estimates, never approved savings.

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": {
      "payload": "<payload>"
    },
    "name": "review_agent_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYesEvaluation input object. For a synthetic sample use sample_mode improved, regression or changed_path. For supplied tests, include workflow and cases; each case needs id, expected.action, baseline.output.action, baseline.trajectory, candidate.output.action and candidate.trajectory. Use [] for steps not supplied. Never invent expected labels or usage. A description without labeled cases yields preparation guidance, not a measured score. No external agent or code is executed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / payload / description
      Added value: +"Evaluation input object. For a synthetic sample use sample_mode improved, regression or changed_path. For supplied tests, include workflow and cases; each case needs id, expected.action, baseline.output.action, baseline.trajectory, candidate.output.action and candidate.trajectory. Use [] for steps not supplied. Never invent expected labels or usage. A description without labeled cases yields preparation guidance, not a measured score. No external agent or code is executed."
    • addedInput schema / properties / payload / examples
      Added value: +[
      +  {
      +    "sample_mode": "improved"
      +  },
      +  {
      +    "cases": [
      +      {
      +        "baseline": {
      +          "output": {
      +            "action": "allow"
      +          },
      +          "trajectory": []
      +        },
      +        "candidate": {
      +          "output": {
      +            "action": "hold"
      +          },
      +          "trajectory": []
      +        },
      +        "expected": {
      +          "action": "hold"
      +        },
      +        "id": "case-1"
      +      }
      +    ],
      +    "workflow": "User test"
      +  }
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With readOnlyHint=true and openWorldHint=false already declared, the annotations cover most of the safety profile. The description still adds behavior beyond annotations: no code runs, no external agent calls, no changes or deployment, format errors should be repaired without altering evidence and retried, and synthetic prices are unsigned estimates rather than approved savings. It does not describe the response shape, but no output schema exists to cover that gap.

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

Conciseness3/5

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

The description is front-loaded with the purpose, but the long JSON-embedded sentences and repeated field enumerations (cases need id, expected.action, baseline.output.action…) make it dense and partly redundant with the schema description. Most content serves a purpose, but a bulleted structure would make the required format and the prohibitions easier to scan and apply.

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 single deeply nested object with no output schema, the description covers the required structure, the rules that must not be violated, the failure-recovery path, and the difference between checklist output and a measured score. It could state more about what a successful evaluation returns, since no output schema exists. Overall it is complete enough to call the tool correctly.

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 the schema already documents the single payload parameter. The description adds real semantic rules: never invent labels or steps, do not use plain strings for expected/baseline/candidate, use empty trajectory arrays when no steps were supplied, omit usage unless token usage was provided, and keep the exact field list. These go beyond what the schema states.

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: it compares synthetic examples or user-supplied labeled old/new outputs against the Forge accountability engine. It clearly separates two modes (synthetic sample vs. supplied comparison). It does not name any sibling tool, so an agent cannot fully rule out explain_verdict or run_check from the text alone.

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?

It gives conditional guidance: use payload={"sample_mode":"improved"} for samples, or workflow+cases for a user-supplied comparison, and ask the user in plain English before scoring if the expected outcome is unstated. It also warns that a description alone returns a preparation checklist rather than a measured evaluation. It does not reference alternative tools or say when another tool would be the better choice.

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