Skip to main content
Glama

decision_card_infer_status

Validate each rubric row, then infer a preview decision.status. Mirrors procurement-decision-api's rubric engine: any 'fail' -> 'rejected-with-remediation'; any 'partial' or 'pass-with-condition' -> 'approved-with-conditions'; all 'pass'…

Instructions

Validate each rubric row, then infer a preview decision.status. Mirrors procurement-decision-api's rubric engine: any 'fail' -> 'rejected-with-remediation'; any 'partial' or 'pass-with-condition' -> 'approved-with-conditions'; all 'pass' -> 'approved'; empty or all 'n/a' -> 'pending'. An unsupported result returns an error, never an approval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rubricYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / rubric / items / properties / id / minLength
      Added value: +1
  2. First observedv0.9.0

TDQS

A3.6/5.0
Behavior4/5

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

No annotations are provided, so the description carries full behavioral burden. It discloses the complete mapping rules from rubric results to status and states that an unsupported result returns an error, never an approval. It does not state whether the operation is read-only or has side effects, but the term 'preview' implies non-persistence.

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?

The description is three tightly written sentences that are front-loaded with the core action, followed by the detailed mapping logic and an edge-case rule. Every sentence contributes essential information with no wasted words.

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?

Given the tool's complexity (inference from an enum-based rubric), no output schema, and no annotations, the description provides the critical mapping rules and error behavior. It is nearly complete, though it omits details on the input structure (e.g., the 'id' field) and the exact return shape beyond 'decision.status'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It explains the semantics of the 'result' enum values in terms of their effect on the inferred status, which adds partial value. However, it never mentions the required 'id' field or the array-of-objects structure of the 'rubric' parameter, leaving a significant gap.

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 uses specific verbs ('Validate', 'infer') and names the resource ('each rubric row', 'decision.status'), making the core purpose clear. However, it does not explicitly differentiate itself from the sibling 'decision_card_validate', leaving some ambiguity about when this inference tool is preferred over the validation tool.

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 description implies usage by describing the inference logic, but it provides no explicit when-to-use guidance or alternatives. With a close sibling ('decision_card_validate'), an agent must infer that this tool is for computing a preview status from raw rubric rows rather than validating a card structure.

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