Skip to main content
Glama

Verify an AI agent's guardrails

verify_agent
Read-only

Statically verify an AI agent's guardrails before deployment. Runs local security checks on LLM integrations, returning scores, failed checks with remediation, and OWASP coverage.

Instructions

Statically verify an AI agent's guardrails before deployment.

Deterministic, local pre-deployment agent verification: inventories LLM integrations, runs the defense checks (prompt-injection exposure, dangerous sinks, tool scope, output validation, PII filtering, cost controls), and returns scores, failed checks with remediation, OWASP LLM/Agentic coverage, and a reproducible attestation digest. No model is involved in the verdict and the analysis runs locally; source code is not sent to Skylos Cloud. Optional gate: set fail_on (severity) and/or min_score (0-100).

Requires SKYLOS_API_KEY: this tool returns an authentication error unless the MCP server is started with SKYLOS_API_KEY set. Without a key, analyze works (5 calls/day) and the local map tools (change_map and the graph_* tools) work with no limit. The local CLI needs no key: skylos verify <file> and skylos agent install-hooks.

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

Input Schema

NameRequiredDescriptionDefault
pathNoDirectory of the LLM application or agent to check..
fail_onNoFail the gate if any failed check is at this severity or above: critical, high, medium or low.
min_scoreNoFail the gate if the defense score (0-100) is lower.
owasp_versionNoVersion of that OWASP list; omit for the default (2025 for llm, 2026 for agentic).
exclude_foldersNoExtra folder names to skip, comma-separated (e.g. "migrations,scripts"). Added to the default excludes.
owasp_frameworkNoOWASP list to map results to: "llm" (Top 10 for LLM Applications) or "agentic".llm

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.49.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=true, destructiveHint=false, openWorldHint=false), the description discloses that no model is involved and the verdict is deterministic, that analysis is local and source is not sent to Skylos Cloud, and that an optional gate (fail_on / min_score) can cause the call to fail. It also states the hard authentication prerequisite and the exact degraded behavior without a key, which is precisely the kind of context annotations cannot convey.

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?

The definition is front-loaded with the core action and result shape, then the auth prerequisite, and the two sentences are dense with useful specifics rather than filler. The auth paragraph is comparatively long, but each clause (rate limit, no-limit alternatives, keyless CLI) answers a distinct question an agent would otherwise get wrong.

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

Completeness5/5

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

For a six-parameter, read-only analysis tool with a full output schema and annotations already declaring safety, the description covers the remaining gaps: prerequisites, local execution and data-handling guarantees, failure-gate behavior, and the shape of the verdict. Nothing needed to invoke it correctly appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all six parameters are already documented; the description adds meaning to the gate by framing fail_on and min_score as an optional severity/score threshold pair that makes the call fail rather than merely report. It does not clarify the interaction between owasp_framework and owasp_version or the default exclude behavior beyond what the schema already says.

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?

The opening line states a specific verb and resource ('Statically verify an AI agent's guardrails') plus a clear scope ('before deployment'), then enumerates exactly what the verification does: inventories LLM integrations, runs named defense checks, and returns scores, failed checks with remediation, OWASP coverage, and an attestation digest. This is distinguishable from code-quality or secret scanners by domain (agent/LLM guardrails) and by output (OWASP mapping, attestation digest), so an agent can identify the tool without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a clear usage condition ('pre-deployment') and an explicit when-not branch: without SKYLOS_API_KEY the tool errors, and the agent should fall back to `analyze` (rate-limited) or to `change_map`/`graph_*` (unlimited), or the local CLI. It stops short of contrasting itself against sibling scanners like security_scan or quality_check, so task-selection guidance is strong on auth gating but not on scanner choice.

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