Skip to main content
Glama
mwnickerson

BloodHound MCP Server

by mwnickerson

run_cypher_query

Execute custom Cypher queries to analyze Active Directory attack paths and security data from BloodHound's Neo4j database, returning structured graph results.

Instructions

Run a custom Cypher query on the BloodHound Neo4j database.

This tool properly interprets BloodHound's HTTP response codes:
- 200: Query successful with results
- 404: Query successful but no results found (NOT an error!)
- 400: Query syntax error
- 401/403: Authentication/permission issues
- 5xx: Server errors

Args:
    query: The Cypher query to execute
    include_properties: Whether to include node/edge properties in the response

Returns:
    JSON response with graph data (nodes and edges) and execution metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
include_propertiesNo
Behavior5/5

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

With no annotations provided, the description carries full burden and delivers excellent behavioral transparency. It explains HTTP response code interpretation (200, 404, 400, 401/403, 5xx), clarifies that 404 is not an error, and describes authentication/permission issues. This goes well beyond basic functionality disclosure.

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 perfectly structured and front-loaded: purpose statement first, then behavioral details, then parameter explanations, then return value description. Every sentence earns its place with zero wasted words, making it highly efficient for agent comprehension.

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 2-parameter tool with no annotations and no output schema, the description provides complete context. It covers purpose, behavioral traits, parameter semantics, and return format. The HTTP response code explanation is particularly valuable for a database query tool, making this description self-sufficient.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by explaining both parameters. It clarifies that 'query' is 'The Cypher query to execute' and 'include_properties' controls 'Whether to include node/edge properties in the response', adding crucial semantic meaning not present in the bare 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?

The description clearly states the specific action ('Run a custom Cypher query') on a specific resource ('BloodHound Neo4j database'). It distinguishes itself from sibling tools like 'interpret_cypher_result' and 'search_graph' by focusing on raw query execution rather than interpretation or search operations.

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 provides clear context for when to use this tool (running custom Cypher queries) and implicitly suggests alternatives through sibling tool names like 'search_graph' for simpler searches. However, it doesn't explicitly state when NOT to use this tool or provide direct comparisons with specific alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mwnickerson/bloodhound_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server