Skip to main content
Glama

cypher

Read-onlyIdempotent

Run read-only graph queries against a local Ripple repository graph to inspect labels, properties, and relationships, returning up to 200 rows and rejecting write clauses.

Instructions

Run a read-only Cypher 25 query against the graph (write clauses are rejected; at most 200 rows). Call graph_schema first to see labels, properties and relationship types. Pass every $param used in the query in params. Returns {count, rows: [{column: value}]}; nodes come back as property dicts.

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": {
      "query": "<query>"
    },
    "name": "cypher"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
paramsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/idempotentHint annotations: it discloses that write clauses are rejected at execution, that results are capped at 200 rows, and the exact response shape ({count, rows}). It also notes that nodes are returned as property dicts, which is meaningful for interpreting output.

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?

Three tight sentences, front-loaded with the core action, then prerequisites, then return format. No filler or redundant restatement of the name.

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?

Despite no output schema, the definition describes the return shape, the row cap, the write restriction, and the required discovery step. For a two-parameter query tool that is everything an agent needs to invoke it correctly.

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 coverage is 0%, so the description must carry the load, and it does: it explains that every $param referenced in the query text must be supplied in `params`, clarifying the link between the two parameters. It does not spell out value typing (e.g. how to pass lists or nulls), which keeps it short of a 5.

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?

States a specific verb and resource ('Run a read-only Cypher 25 query against the graph') plus scope limits, and distinguishes itself from the schema-discovery sibling by telling the agent to call graph_schema first. An agent can identify the tool's function without opening the schema.

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?

Gives a clear prerequisite ('Call graph_schema first to see labels, properties and relationship types') and an exclusion ('write clauses are rejected'). It does not say when to prefer this over siblings like find_symbol or impact for simpler lookups, so guidance is strong context but not full when/when-not routing.

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