Skip to main content
Glama

judge

Reviews a composition against taste rules, renders light/dark contact sheets, runs lint, and asks a vision model for a verdict, 1–5 scores, and notes; saves those notes unless save=false.

Instructions

Model review of a composition against judge/judge.md and the taste prose: renders light and dark contact sheets, runs lint, and asks a vision model (DeepSeek on OpenCode Go, needs OPENCODE_GO_API_KEY) for a verdict, 1-5 scores and timed notes. Unless save=false the notes replace the judge's earlier open notes in the composition (author "judge"); it never edits anything else.

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": {
      "composition": "<composition>"
    },
    "name": "judge"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage to show (e.g. en). Default: the source language the documents are written in; others come from locales/<lang>.json
saveNo
basisNoWhat you read and followed to make this change, as refs from search or lookup: rule:<lint or taste rule>, taste, feedback:<id> (earlier feedback this follows; what it answers goes in feedback), commit:<id> (an earlier change it builds on), asset:, template:, skill:… The person sees them under the change, so they know why it is this way. Name only what shaped it.
messageNoOne line saying why, kept with the change in the history
feedbackNoIds of the feedback this change answers (notes and marks from list_notes, list_examples or the conversation). When the person keeps the change it joins the record of that feedback, and when they then mark the feedback resolved it is the fix; when they take it back, the feedback opens again.
confidenceNoHow sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.
compositionYesComposition name (file in compositions/ without .json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / confidence
      Added value: +{
      +  "description": "How sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.",
      +  "enum": [
      +    "high",
      +    "medium",
      +    "low"
      +  ]
      +}
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the external dependency and credential (DeepSeek on OpenCode Go, needs OPENCODE_GO_API_KEY), the side effect's exact scope (notes replace the judge's earlier open notes, author "judge"), and an explicit boundary (it never edits anything else). That last clause also reconciles the write behavior with destructiveHint=false rather than contradicting it. This is exactly the context annotations cannot carry.

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

Conciseness4/5

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

Two sentences, front-loaded with what the tool does and what it produces, then the mutation caveat. Dense but nearly every clause carries information (outputs, credential, side-effect scope). Slightly overpacked punctuation-wise (colon list, parenthetical credential) but not padded.

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 7-parameter, non-idempotent tool with no output schema, the definition covers inputs, side effects, auth needs and the shape of results (verdict, 1-5 scores, timed notes). The one small gap is what happens to the notes when save=false — whether they are returned to the caller or merely discarded. Otherwise nothing an agent needs to call it correctly is missing.

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 86%, so the schema already documents lang, basis, message, feedback and confidence; baseline would be 3. The description earns above that by giving save its real meaning — save=false suppresses replacement of the judge's stored notes — which is a consequence the boolean's default alone does not convey. The composition parameter is self-evident from the schema.

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?

Names a specific action (model review) on a specific resource (a composition) and enumerates the machinery it drives: contact sheets, lint, and a vision-model verdict. It is clearly distinguishable from the lint and taste siblings because it says it *runs* lint and reads the taste prose rather than being them. It stops short of an explicit 'use this instead of lint/taste when...' statement, so a 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the full-review pass that subsumes lint and taste, and that save=false is the way to get a review without touching the composition. There is no explicit when-to-use/when-not guidance or named alternative sibling to prefer for a lighter check. Adequate but leaves routing to inference.

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

Deploy Server

Other Tools