Skip to main content
Glama

sentry_audit_payload

Audit AI agent tool calls and payloads against 24 OWASP MCP threat vectors to detect path traversal, secret leaks, destructive commands, prompt injection, and rug-pulls before execution.

Instructions

Audit an AI agent tool call or payload against 24 OWASP MCP threat vectors (path traversal, DLP secret leaks, destructive commands, prompt injection, rug-pulls).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tool_name": "<tool_name>",
      "arguments": "<arguments>"
    },
    "name": "sentry_audit_payload"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsYesArguments passed to the tool
tool_nameYesName of the target tool being called

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and falls well short: it never says what the audit returns (verdict, score, findings list), whether it blocks or merely reports, whether it is read-only or has side effects, or whether it makes network calls. Listing the threat categories is useful scope information but is not behavioral disclosure for a security-gate 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?

A single front-loaded sentence with no filler; the scope count and the illustrative threat examples are packed efficiently and nothing could be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a security-audit tool with no annotations and no output schema, the description leaves a critical gap: the agent cannot tell what a result looks like or what action to take on it. It covers what is checked but not the outcome contract, which is exactly what the missing structured fields would otherwise have provided.

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% and both parameters are documented in the schema, so baseline is 3. The description's phrase 'tool call or payload' loosely maps to tool_name plus arguments, but it adds no detail about how the free-form nested arguments object should be shaped or whether partial payloads are acceptable.

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 (audit) and a specific object (an AI agent tool call or payload), then bounds scope with '24 OWASP MCP threat vectors' and parenthetical examples. An agent immediately knows this is a security-check tool, and it is clearly distinct from sentry_shadowvault_query and sentry_status without needing explicit sibling comparison.

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?

Usage is implied rather than stated: auditing a tool call suggests running it before or alongside invocation, and auditing a 'payload' suggests inspecting arbitrary arguments. There is no explicit when-to-use/when-not, no statement about whether this should be called for every tool invocation, and no mention of the sibling tools as alternatives.

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