Skip to main content
Glama

close_scoped_audit

Close a scoped audit once no pending frontier remains; finalize audit status without promoting underlying work to VERIFIED.

Instructions

Close only after no pending frontier remains; closure never promotes underlying work to VERIFIED.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
summaryNo
actor_idYes
audit_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.4

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 behavioral burden, and it does disclose one non-obvious trait: closure does not promote underlying work to VERIFIED. It is silent on permissions/actor requirements, reversibility or idempotency of closing, and what happens to recorded findings.

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 tight sentence with the precondition front-loaded and a second clause that adds distinct information. No filler, though the terseness borders on underspecification.

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 described, but for a mutation tool with zero annotations and fully undocumented parameters the description should cover required authority and the effect on audit state. It covers the precondition and one side-effect constraint and little else.

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% and none of the three parameters (audit_id, actor_id, optional summary) are explained in the description. The description does not compensate at all for the schema gap, leaving actor attribution and summary semantics entirely undocumented.

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 verb 'close' plus the tool name identifies the resource (a scoped audit), and the clause 'closure never promotes underlying work to VERIFIED' actively separates it from verification-oriented siblings like verify_slice and accept_slice. It stops short of a full plain-language statement of what closure does to the audit record itself.

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

Usage Guidelines4/5

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

'Close only after no pending frontier remains' states an explicit gating precondition for invocation, which is real when-to-use guidance rather than vague implication. It does not, however, point at siblings such as audit_status or audit_mutation_allowed for checking the frontier before calling.

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