Skip to main content
Glama

CanarySeal (AI-Run Security Lab)

canaryseal_bundle_scan

Read-onlyIdempotent

Free structural security audit of an agent's system_prompt, SKILL.md, and MCP/function tool schemas (flags missing XML fencing, unbounded financial tools, lethal secret+sink trifecta, and poisoned tool descriptions).

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": "canaryseal_bundle_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolsNo
system_promptNo
skill_markdownNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false, and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: the audit is free, it is structural (static analysis of supplied artifacts), and it specifically checks for missing XML fencing, unbounded financial tools, the secret+sink trifecta, and poisoned tool descriptions. It does not mention rate limits, output shape, or what happens when inputs are omitted, which keeps it below a 5.

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?

A single front-loaded sentence with the action and target up front and the detection list in a trailing parenthetical. Every clause carries information. Slightly dense list-within-list structure in the parentheses costs it a point but it is otherwise waste-free.

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?

There is no output schema, so the description should ideally say what an audit returns (findings list, severity, pass/fail), and it does not. It also omits default behavior when all three optional parameters are omitted. The input side is reasonably covered, but the result side is unspecified for a tool whose whole value is its report.

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 0%, so the description must carry the load. It does map the three parameters conceptually — system_prompt, SKILL.md (skill_markdown), and tool schemas (tools) — which is meaningful compensation. However, it never states that all three are optional, what format each expects (raw text vs. JSON schema objects), or what the tool does when a parameter is absent.

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+resource ('structural security audit') and enumerates exactly which artifacts it examines: system_prompt, SKILL.md, and MCP/function tool schemas. It also lists the failure classes it detects, so an agent can tell this is a static config review rather than a live scan. It does not, however, distinguish itself from the similarly named sibling canaryseal_preview_scan.

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 states what the tool inspects but gives no explicit when-to-use guidance, no prerequisites, and no exclusion criteria. With a sibling named canaryseal_preview_scan that sounds closely related, the absence of any routing guidance leaves the agent to guess which one to call. Usage is only inferable from the phrasing 'structural security audit'.

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.

Resources