Skip to main content
Glama

Compl-AI-ance

graph_find_path

Read-only

Gibt es eine Verbindung zwischen zwei Knoten, und welche? Antwortet mit dem kürzesten gefundenen Pfad oder damit, wie tief gesucht wurde.

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": {
      "from_type": "<from_type>",
      "from_id": "<from_id>",
      "to_type": "<to_type>",
      "to_id": "<to_id>"
    },
    "name": "graph_find_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNo1..5, Vorgabe 4
to_idYes
from_idYes
to_typeYes
from_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

readOnlyHint=true already covers the safety profile, so the description's added value is the disclosure that a negative result reports how deep the search went rather than a plain 'no'. That is genuinely useful beyond the annotations. However, it says nothing about traversal cost or the consequences of raising depth, which matters for a bounded graph search.

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?

Two short clauses, with the core question front-loaded and the return behaviour following it. Nothing is padded, though the phrasing is loose ('oder damit, wie tief gesucht wurde').

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?

With no output schema, five parameters and very low schema coverage, the description should explain the accepted node types and what the two result forms actually contain. It only gestures at the result shapes ('kürzester gefundener Pfad'), leaving an agent unable to construct valid type values or interpret a depth-only answer confidently.

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 only 20%: depth is documented ('1..5, Vorgabe 4') but from_type, from_id, to_type and to_id are bare strings with no enums. The description supplies no meaning for the node type fields, so the four required parameters remain ambiguous about accepted values.

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?

The description names a specific operation: determining whether a connection exists between two nodes and returning the shortest path found. That is clearly distinct from adjacency-style siblings such as graph_neighbors. It stops short of naming any sibling to sharpen the distinction, so it does not reach a 5.

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 explicit when-to-use or when-not-to-use guidance, and no alternative is named. The phrase 'wie tief gesucht wurde' hints that the search is bounded, but the agent is never told how to trade off depth against cost or when to prefer graph_neighbors instead.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources