Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

graphql_scanner

Scans GraphQL endpoints for security vulnerabilities by testing introspection, query depth limits, and mutation operations to assess exposure and support penetration testing.

Instructions

Advanced GraphQL security scanning and introspection.

Args: endpoint: GraphQL endpoint URL introspection: Test introspection queries query_depth: Maximum query depth to test test_mutations: Test mutation operations

Returns: GraphQL security scan results with vulnerability assessment

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": {
      "endpoint": "<endpoint>"
    },
    "name": "graphql_scanner"
  }
}

Input Schema

NameRequiredDescriptionDefault
endpointYes
query_depthNo
introspectionNo
test_mutationsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It calls itself a 'security scan' but never discloses that it sends active probes, whether testing mutations actually writes to the target's data (test_mutations defaults to true), whether results are cached, or whether authorization is required. The potentially side-effecting default is the most important undisclosed behavior for a security tool.

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

Conciseness3/5

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

It is short and front-loaded with the purpose sentence, but the Args block duplicates the input schema and the Returns section is redundant given an output schema exists. Roughly half the text adds no information beyond structured fields.

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

Completeness2/5

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

For a 4-parameter active security scanner with no annotations and rich defaults, the definition omits the behavior an agent most needs: whether mutation testing alters target data, whether introspection probing is noisy/logged, and any permission or rate-limit context. The presence of an output schema excuses it from explaining return values, but little else is covered.

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

Parameters2/5

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

Schema description coverage is 0%, so the description should compensate, but the Args block mostly restates parameter titles ('introspection: Test introspection queries' vs. title 'Introspection'). Only 'endpoint: GraphQL endpoint URL' and 'Maximum query depth to test' add slight meaning, and no format details, valid ranges, or consequences of each flag are given.

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: 'GraphQL security scanning and introspection', which tells an agent exactly what class of operation this is. However, 'Advanced' is filler and nothing distinguishes it from sibling scanners such as api_fuzzer, api_schema_analyzer, or burpsuite_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?

There is no guidance on when to choose this tool over the many other API/web scanning siblings, and no stated prerequisites (e.g., whether the endpoint must be reachable, whether authentication is expected). The only usage-flavored content is per-parameter glosses, which is configuration detail rather than when-to-use guidance.

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