Skip to main content
Glama
janishkumar

po-guard-mcp

by janishkumar

audit_log

Read-only

Retrieves recent po-guard audit records of every write attempt, including refused ones, with optional filtering by purchase order or supplier ID and a row limit.

Instructions

Recent po-guard audit records (every write attempt, including refused ones).

Args: target: Optional document ID (purchase order or supplier) to filter on. limit: Maximum rows (1-100).

Input Schema

NameRequiredDescriptionDefault
limitNo
targetNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value by disclosing that refused write attempts are included, but it says nothing about ordering, retention window, or whether results are truncated by recency — gaps that matter for an audit tool.

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?

The purpose is front-loaded in one sentence, followed by a compact Args block. Every line earns its place, though the 'Args:' formatting is a bit list-like rather than prose-integrated.

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 both optional parameters are documented. However, for a low-annotation-burden read tool with 0% schema coverage, the description still omits result ordering and the meaning of 'recent' (how far back), leaving an agent unable to reason about result scope.

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

Parameters4/5

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

Schema coverage is 0% — the schema exposes 'target' as a bare anyOf string and 'limit' as an integer with only a default — so the description carries the full burden and mostly meets it. It explains that target accepts a purchase order or supplier document ID and that limit is bounded 1-100, which the schema never states.

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 names the resource precisely ('po-guard audit records') and clarifies scope ('every write attempt, including refused ones'), which clearly separates it from the purchase-order CRUD siblings. It lacks an explicit verb (list/read), but the noun phrase is unambiguous enough that an agent can identify it as a read of audit history.

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 word 'Recent' implies a recency scope and 'including refused ones' hints at an investigation/audit use case, but there is no explicit when-to-use or when-not-to-use statement and no mention of alternatives among the 13 siblings. Usage is inferable rather than stated.

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