Skip to main content
Glama

Tinplate AI Agent Security & Guardrails MCP

tinplate_mcp_traffic_guard

Read-onlyIdempotent

Inspect live MCP JSON-RPC 2.0 requests, tool arguments, resource URIs, batches, and tool responses offline in volatile RAM for policy violations, path traversal, shell/SQL injection, SSRF, and response poisoning. (Endpoint: POST /v1/mcp-traffic-guard)

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": {
      "message": "<message>"
    },
    "name": "tinplate_mcp_traffic_guard"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesMCP JSON-RPC 2.0 request, response, or batch array (object, array of frames, or raw JSON string).
directionNoDirection of MCP JSON-RPC traffic ('auto', 'request', or 'response').auto
allowed_toolsNoOptional allowlist of permitted MCP tool names on tools/call. Empty allows any non-blocked tool.
blocked_toolsNoExplicit denylist of disallowed MCP tool names.
check_secretsNoScan tool arguments and tool responses for leaked credentials or API tokens.
allow_samplingNoAllow server-initiated sampling/createMessage JSON-RPC calls (default false).
max_batch_sizeNoMaximum permitted JSON-RPC batch array length.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / properties / allow_sampling / example
      Removed value: -false
    • removedInput schema / properties / allowed_tools / example
      Removed value: -[]
    • removedInput schema / properties / blocked_tools / example
      Removed value: -[]
    • removedInput schema / properties / check_secrets / example
      Removed value: -true
    • removedInput schema / properties / direction / example
      Removed value: -"auto"
    • removedInput schema / properties / max_batch_size / example
      Removed value: -5
    • removedInput schema / properties / message / example
      Removed value: -{
      -  "id": 1,
      -  "jsonrpc": "2.0",
      -  "method": "tools/call",
      -  "params": {
      -    "arguments": {
      -      "report_id": "q3-summary"
      -    },
      -    "name": "read_report"
      -  }
      -}
  2. Added

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, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds real value with 'offline in volatile RAM', which signals no persistence and no external calls, but says nothing about what is returned (verdict, findings, counts) or any limits on repeated invocation.

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 dense but well-ordered sentence: surface first, coverage second, threat classes last. The trailing '(Endpoint: POST /v1/mcp-traffic-guard)' is transport metadata of little use to an MCP caller and is the only wasted text.

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 7-parameter inspection tool with no output schema, the description never indicates what a caller receives back. Inputs are fully covered by the schema and safety by annotations, so the remaining gap is the response shape rather than the call mechanics.

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%, so the schema already documents every parameter including the enum for direction and the defaults for check_secrets and allow_sampling. The description only loosely gestures at the 'message' payload (

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 ('Inspect') and a specific resource ('live MCP JSON-RPC 2.0 requests, tool arguments, resource URIs, batches, and tool responses') and enumerates the threat classes it detects. It does not name which sibling to prefer, even though tinplate_tool_call_validator and tinplate_ssrf_firewall plainly overlap in scope.

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?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives. 'Offline in volatile RAM' hints at the execution model, but an agent gets no help deciding between this and the overlapping tool-call/SSRF siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.