Skip to main content
Glama
@shuliak-corp/sip1-mcp

@shuliak-corp/sip1-mcp

sip1_audit_jsonrpc

Read-onlyIdempotent

Audits raw MCP JSON-RPC 2.0 tool call payloads to detect path traversal, command injection, prototype pollution, and zero-width Unicode smuggling before execution.

Instructions

Inspect MCP JSON-RPC 2.0 tool call payloads for OWASP MCP05/06 Path Traversal, Command Injection, Prototype Pollution, and covert Zero-Width Unicode smuggling.

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": {
      "payload": "<payload>"
    },
    "name": "sip1_audit_jsonrpc"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYesRaw JSON-RPC 2.0 request or tool argument payload string to audit for security threats.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.3

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered structurally. The description adds the detection scope and the threat taxonomy, but does not disclose what the audit returns (findings format, severity, verdict), whether it blocks or only reports, or any limits on payload size.

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?

One tight sentence, front-loaded with the action and object, followed by the enumerated threats. No filler; the only shortfall is that the compactness comes at the cost of any usage or output context.

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?

For a single-parameter read-only audit tool with full schema coverage and annotations, the definition is adequate to invoke correctly. It is missing what an agent most needs next: what the audit output looks like and how to act on findings, especially since there is no output schema.

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 coverage is 100% and the single parameter is fully documented as 'Raw JSON-RPC 2.0 request or tool argument payload string'. The description adds no syntax, encoding, or size guidance beyond that, so the schema does the work and the baseline of 3 applies.

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 a specific verb ('Inspect') and resource ('MCP JSON-RPC 2.0 tool call payloads') and enumerates the threat classes it detects (Path Traversal, Command Injection, Prototype Pollution, Zero-Width Unicode smuggling). It is distinguishable from siblings like sip1_scrub_payload, though it does not explicitly contrast itself with that sanitizer or sip1_rehydrate_response.

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 explicit when-to-use guidance, no prerequisites, and no statement of when not to use it or which sibling to use instead. An agent must infer from the sibling names alone whether to audit before or instead of scrubbing.

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