Skip to main content
Glama

Osiris.Precheck

osiris.precheck

Verifies an action before execution by checking invariants, duplicate actions, and budget limits to prevent costly errors.

Instructions

Verifie une action avant qu'elle parte : invariant, doublon, budget.

Input Schema

NameRequiredDescriptionDefault
argsNoArguments (JSON).
actionNoAction (ex: git.commit).
reasonNoPourquoi.
task_idNoTache (vide = tache courante).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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. It does add real behavioral content by naming the three validations performed (invariant, duplicate, budget), but it never says whether the tool blocks the action, what a negative verdict means, or whether calling it has side effects.

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?

A single front-loaded sentence with zero filler; the core intent arrives immediately. It is arguably too terse rather than padded, so it does not lose points for verbosity.

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?

An output schema exists, so return values need not be explained, and the schema covers all parameters. What remains missing is the decision semantics of a gate tool: whether a failed precheck should abort the action and whether human approval is involved.

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 all four parameters (action, args, reason, task_id) are already documented in the schema and the baseline is 3. The description adds nothing beyond the schema, not even a note that 'action' is the field being checked.

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?

States a specific verb+resource: it verifies an action before dispatch, and enumerates the three check families (invariant, doublon, budget). An agent can tell this is a pre-execution gate rather than a logging or planning tool, though no sibling is named explicitly.

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?

"avant qu'elle parte" implies the timing (before the action is dispatched), which is implicit usage guidance. There is no explicit when-not, no mention of what to do if the check fails, and no routing against siblings like osiris.plan or osiris.checkpoint.

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