Skip to main content
Glama

Rate a brief

rate_brief
Idempotent

Records a verdict on one of an LFG link's briefs: useful, not useful, or fix this with a few words on what was wrong or missing. For a link the person made, a not useful or fix this goes to the LFG agent as something the brief lacked, and the plan is looked at again that day: only sources are added or broken ones replaced, and the person is asked before a working one is dropped. For a link the person only rides, the verdict is kept for its Keeper to see; when several riders say a brief missed, the LFG agent looks at the plan again for that too. One verdict per person per brief; rating again replaces it. It does not change the stack directly: update_stack does that. Read the brief first with read_stack.

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": {
      "id": "<id>",
      "verdict": "<verdict>"
    },
    "name": "rate_brief"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe link's id.
dateNoThe brief's day, "2026-11-14", as read_stack lists it. Left out, the newest brief.
noteNoWhat was wrong or missing, in plain words: "no prices in it", "the second link is dead". Needed with fix; welcome with not_useful.
verdictYesuseful: it gave what was asked. not_useful: it did not. fix: something specific was wrong or missing, said in note.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / id / format
      Removed value: -"uuid"
    • changedInput schema / properties / id / pattern
      Previous value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"New value: +"^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
  2. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"The alarm's id."New value: +"The link's id."
  3. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare write/idempotent/non-destructive; the description goes beyond that with the one-verdict-per-person-per-brief rule and replacement-on-rerate behavior (which explains the idempotent hint), plus the downstream consequence per link type: the plan is revisited that day, only sources are added or broken ones replaced, and the person is asked before a working source is dropped; rider verdicts are visible to the Keeper and aggregate before triggering a review.

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?

Purpose, then consequence, then constraints, then the sibling pointer — well front-loaded with no filler sentences. Some clauses are dense and run long ('a not useful or fix this goes to the LFG agent as something the brief lacked, and the plan is looked at again that day'), which costs a little readability.

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 four-parameter mutation with no output schema, the description covers preconditions, per-verdict effects, repeat-rating behavior, and the sibling it must not be confused with. The only omission is what the call returns on success or failure, which is minor since it clearly states the verdict is recorded and persisted.

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 baseline is 3, but the description adds meaning to 'verdict' by tying each choice to its consequence (a not_useful or fix routes to the LFG agent, and 'fix' requires words on what was wrong or missing) and clarifies that note supplies those words. It does not add anything about date or id that the schema lacks.

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?

Names a specific verb and resource ('Records a verdict on one of an LFG link's briefs') and enumerates the three verdicts. It also explicitly separates itself from the two nearest siblings by naming read_stack for reading and update_stack for actually changing the stack.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives an explicit precondition ('Read the brief first with read_stack') and an explicit exclusion ('It does not change the stack directly: update_stack does that'). It also splits the guidance by situation — a link the person made versus a link the person only rides — and describes the consequence in each case.

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.