Skip to main content
Glama
MCP Policy Gateway

MCP Policy Gateway

by gapview01

get_audit_log

Retrieve the audit trail of every tool call, including blocked and waiting actions, so risk and finance teams can review decisions and trace outcomes.

Instructions

Return the audit trail of every tool call, including blocked and waiting actions.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_audit_log"
  }
}

Input 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 of explaining behavior. It does disclose a meaningful behavioral trait: the trail is complete, covering every tool call, including blocked and waiting actions. However, it says nothing about ordering, time span covered, volume or pagination limits, or access requirements, all of which matter for a log-reading tool.

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 a single front-loaded sentence that states the resource first and the scope qualifier second. No wording could be cut without losing meaning.

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?

This is a simple, read-only lookup tool with no parameters. Still, because the tool provides no output schema, the description should say something about what an audit entry contains, or about ordering and scope over time. It stops short of that, so it is adequate but not fully complete.

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?

The tool takes zero parameters, so there is nothing to misinterpret and the baseline is 4. The description's note that the trail is not filtered, covering 'every tool call,' implicitly confirms that the tool offers no filtering options.

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 a specific verb and resource: 'Return the audit trail of every tool call,' and it defines the scope precisely by including 'blocked and waiting actions.' It leaves no ambiguity about what the tool produces; the only gap is that it does not explicitly distinguish itself from any other tool, but the listed sibling names cover unrelated functions, so this is minor.

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

Usage Guidelines2/5

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

The description gives no guidance on when to call this tool or when not to call it, and it names no alternative. At best, mentioning 'blocked and waiting actions' hints that the tool is used for auditing or investigating denials, but this is left for the agent to infer.

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