Skip to main content
Glama

legalpass_edit_item

Apply human reviewer overrides to LegalPass items, updating verdicts, findings, or notes, and return an audit entry with before/after state.

Instructions

Apply a human reviewer override to a LegalPass item and return an audit entry with before/after state.

Input Schema

NameRequiredDescriptionDefault
notesNoAlias for reviewer_note, for TestPass-style callers
run_idYesThe LegalPass run id returned by legalpass_run
findingNoReplacement finding text, linted by PassGuard
item_idYesThe LegalPass item id to edit
verdictNoReviewer override verdict
actor_user_idNoOptional actor id for the override audit entry
reviewer_noteNoHuman reviewer note for the audit trail, linted by PassGuard
on_fail_commentNoReplacement fail comment, linted by PassGuard

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two useful traits: this is a mutation (an 'override') and it produces an auditable before/after record. However, it omits whether the override requires reviewer authorization, whether it is reversible, and that inputs are gated by PassGuard linting.

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?

One sentence, front-loaded with the action and scope, followed by the return behavior. No filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter mutation with no annotations and no output schema, the description covers intent and return content but omits the linting gate, the alias relationship between notes and reviewer_note, and any permission or lifecycle requirements. Adequate but with clear gaps.

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 the schema already documents all eight parameters, including the verdict enum and the notes/reviewer_note alias. The description adds no parameter-level detail, so the baseline of 3 applies.

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 pairs a specific verb ('Apply a human reviewer override') with a specific resource ('a LegalPass item') and states the outcome (an audit entry with before/after state). It is clear enough to separate from read-style siblings like legalpass_status, though it does not explicitly contrast with legalpass_verdict or testpass_edit_item.

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

Usage Guidelines2/5

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

There is no guidance on when this tool should be used versus legalpass_verdict, legalpass_run, or testpass_edit_item, and no stated preconditions (e.g. an existing run/item, reviewer authorization). The agent must infer usage entirely from the name.

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