Skip to main content
Glama

OpenRobotics

POST /v1/reward

reward

Score a clip against a task instruction with a reward model. Returns per-frame progress and optional success. Models: list_models with endpoint "reward". Billed per call unless the key is a sandbox key.

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": {
      "model": "<model>",
      "instruction": "<instruction>",
      "frames": "<frames>"
    },
    "name": "reward"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesModel id from GET /v1/models, e.g. provider/name
framesYesthe clip, oldest first, all the same size (e.g. a video sampled at a few frames per second)
instructionYesthe task the clip should be doing, e.g. "put the green stick in the brown bowl"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and openWorldHint=true; the description adds real context on top: the return shape (per-frame progress, optional success) and the billing model (charged per call unless a sandbox key is used), which is exactly the kind of cost/auth information an agent needs before calling. It stops short of stating failure modes or latency/limits, so it is not a full 5.

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, each doing distinct work: purpose first, then return value, then model discovery and billing. No filler and the most important information is front-loaded.

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?

With no output schema, the description correctly fills the gap by summarizing the response, and it covers model discovery and cost. For a 3-parameter tool with 100% schema coverage the remaining gap is minor (no error or timeout behavior), so the definition is effectively complete for correct invocation.

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 100%, so model, frames and instruction are already documented in detail (data URL/https handling, 4 MB cap, frame ordering, size uniformity). The description adds essentially nothing beyond that, which is the expected baseline when the schema carries the burden.

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?

"Score a clip against a task instruction with a reward model" names a concrete verb (score), the inputs (clip, task instruction) and the mechanism (reward model), plus what comes back (per-frame progress and optional success). This clearly separates it from the other action-style siblings such as detect, depth or segment.

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?

The one usage pointer is the routing note "Models: list_models with endpoint \"reward\"", which usefully sends the agent to list_models for the required model id. However, there is no statement of when to choose reward scoring over other evaluation siblings, and no exclusions or preconditions beyond the model lookup.

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