Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

api_schema_analyzer

Analyze OpenAPI, Swagger, or GraphQL schemas to identify security issues and receive remediation recommendations.

Instructions

Analyze API schemas and identify potential security issues.

Args: schema_url: URL to the API schema (OpenAPI/Swagger/GraphQL) schema_type: Type of schema (openapi, swagger, graphql)

Returns: Schema analysis results with security issues and recommendations

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": {
      "schema_url": "<schema_url>"
    },
    "name": "api_schema_analyzer"
  }
}

Input Schema

NameRequiredDescriptionDefault
schema_urlYes
schema_typeNoopenapi

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It says it returns issues and recommendations, but does not state whether it fetches the URL remotely, requires authentication, makes requests to the target API, or has any side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loaded with the purpose, followed by Args and Returns sections. No sentence is redundant or padding.

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?

The output schema exists, so return values need not be fully explained. However, with no annotations and two parameters at 0% schema coverage, the definition still lacks operational context such as safe-read behavior and usage boundaries.

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 add meaning. It documents schema_url as a URL and schema_type as openapi/swagger/graphql, which adds useful accepted values, but it omits format constraints and whether local files or authenticated URLs are supported.

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 and resource: 'Analyze API schemas and identify potential security issues.' The purpose is clear, but it does not explicitly distinguish itself from sibling security tools such as api_fuzzer or comprehensive_api_audit.

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 guidance, no prerequisites, and no mention of alternatives. The description only labels the inputs; it does not say when this tool should be chosen over other API security tools.

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

Deploy Server

Other Tools