Skip to main content
Glama

request_audit

Queues a full audit run for one or more projects by slug or ID, then returns each project's dispatch status and an attach command to watch the live session.

Instructions

Admin: request a full audit run for one or more projects. Pass projects as a list of project slugs or ids. Each is resolved and queued on the audit-dispatch outbox; a background worker then launches that project's audit orchestrator (no repo checkout by the caller). The result lists each project with status 'queued' (with a dispatch id and an attach_command — the command to watch the live audit session once SSH'd into the server) or 'unknown_project' (the name did not resolve).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ProjectsNo
as_agentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the async dispatch via the audit-dispatch outbox, that a background worker launches the orchestrator, that no repo checkout happens for the caller, and the possible return statuses. It stops short of stating explicit permission/auth requirements beyond the 'Admin:' label.

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 is front-loaded, then followed by the resolution/dispatch mechanics and result shape. It is fairly dense but each sentence adds operational value; nothing is pure filler.

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 no-output-schema tool, the description usefully explains the return shape (per-project 'queued' with dispatch id and attach_command, or 'unknown_project'). The main gap is the unexplained `as_agent` parameter.

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 0%, so the description must compensate. It explains `projects` well as a list of project slugs or ids, but never mentions the `as_agent` parameter, leaving one of two parameters undocumented in both schema and description.

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?

States a specific verb (request) and resource (a full audit run for one or more projects), and the 'Admin:' prefix flags the privileged scope. It is clearly distinguishable from the sibling cancel_audit, since this initiates rather than cancels.

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 an admin context and that the caller queues work asynchronously, but it never states when to choose this over alternatives or the conditions under which it should be invoked. Usage is inferred rather than stated.

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