Skip to main content
Glama

Tinplate AI Agent Security & Guardrails MCP

tinplate_a2a_card_guard

Read-onlyIdempotent

Audit Agent2Agent (A2A) Agent Card JSON metadata offline in volatile RAM for SSRF endpoints, cleartext HTTP, skill prompt poisoning, leaked credentials, and weak authentication schemes. (Endpoint: POST /v1/a2a-card-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": {
      "agent_card": "<agent_card>"
    },
    "name": "tinplate_a2a_card_guard"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_cardYesA2A Agent Card JSON object or raw JSON string (e.g. fetched from /.well-known/agent-card.json or /.well-known/agent.json).
require_authNoRequire non-anonymous authentication metadata (authentication.schemes or securitySchemes/security).
allowed_hostsNoOptional allowlist of trusted agent hostnames (e.g. ['agent.example.com']). Empty allows any public HTTPS host.
require_httpsNoRequire HTTPS URLs across card endpoints and OAuth URLs.
strict_schemaNoEnforce strict A2A card schema hygiene (name, url, SemVer version, unique skill IDs).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / agent_card / example
      Removed value: -{
      -  "capabilities": {
      -    "pushNotifications": false,
      -    "streaming": false
      -  },
      -  "defaultInputModes": [
      -    "text/plain",
      -    "application/json"
      -  ],
      -  "description": "Answers verified invoice questions for customer support.",
      -  "name": "Billing Support Agent",
      -  "security": [
      -    {
      -      "bearerAuth": []
      -    }
      -  ],
      -  "securitySchemes": {
      -    "bearerAuth": {
      -      "scheme": "bearer",
      -      "type": "http"
      -    }
      -  },
      -  "skills": [
      -    {
      -      "description": "Fetches invoice summary fields for authenticated customers.",
      -      "id": "invoice-lookup",
      -      "name": "Invoice Lookup",
      -      "tags": [
      -        "billing",
      -        "support"
      -      ]
      -    }
      -  ],
      -  "url": "https://agent.example.com/a2a",
      -  "version": "1.0.0"
      -}
    • removedInput schema / properties / allowed_hosts / example
      Removed value: -[]
    • removedInput schema / properties / require_auth / example
      Removed value: -true
    • removedInput schema / properties / require_https / example
      Removed value: -true
    • removedInput schema / properties / strict_schema / example
      Removed value: -true
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and non-open-world, so the safety profile is covered. The description adds genuinely new behavioral context: processing happens offline in volatile RAM, i.e. no network egress and no persisted copy of the card — material for anyone auditing a card containing live credentials. It stops short of saying whether results are reported, thrown, or blocked, and there is no output schema to fill that gap.

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?

Front-loaded with the verb and resource, and the threat enumeration is dense but each item carries selection value. The trailing "(Endpoint: POST /v1/a2a-card-guard)" is lower-value for a tool-calling agent but is compact and does not disrupt the structure.

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?

All five parameters are schema-documented and the safety annotations are rich, so the input side is complete. The gap is the return side: with no output schema, the description never indicates whether the tool emits a findings list, a pass/fail verdict, or severity-annotated results, which matters for an audit tool an agent must interpret.

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 agent_card, require_auth, allowed_hosts, require_https, and strict_schema fully; baseline 3 applies. The description only indirectly gestures at two of them through "cleartext HTTP" and "weak authentication schemes," adding no format, default, or interaction detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ("Audit") against a precisely named resource (Agent2Agent (A2A) Agent Card JSON metadata) and enumerates the exact defect classes checked: SSRF endpoints, cleartext HTTP, skill prompt poisoning, leaked credentials, weak authentication schemes. The narrow resource type separates it from sibling scanners such as tinplate_secret_scanner or tinplate_ssrf_firewall without needing to name them.

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 phrase "offline in volatile RAM" and the endpoint path imply this is a pre-trust validation step for a fetched agent card, but there is no explicit when-to-use or when-not-to-use statement and no routing to alternatives. An agent must infer that this is the right tool when the payload is an A2A card rather than a generic SSRF or secret-scan target.

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.