Skip to main content
Glama

graph_path

graph_path
Read-onlyIdempotent

Find one shortest typed path between two codebase entities, with controls for direction, depth, and explicit heuristic edges.

Instructions

Graph tool for connection questions: find one shortest typed path between two entities while keeping heuristic edges explicit and opt-in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdNo
projectRefNo
startEntityYes
targetEntityYes
directionNo
traversalDepthNo
nodeKindsNo
edgeKindsNo
includeHeuristicEdgesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNameYes
projectIdYes
resultYes
_hintsYes
Behavior4/5

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

Annotations already provide readOnlyHint and idempotentHint. The description adds that it finds one shortest path and that heuristic edges are explicit and opt-in, which provides behavioral context beyond the annotations.

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?

The description is a single front-loaded sentence that efficiently communicates core purpose. However, it could be more specific about 'connection questions'.

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?

Given the tool's complexity (9 params, nested objects, enums, output schema), the description omits crucial details such as entity kinds, direction semantics, and traversal depth, making it incomplete for an agent.

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%, and the description does not clarify any of the 9 parameters. The only hint is about includeHeuristicEdges via 'opt-in', but no details on startEntity, targetEntity, direction, etc.

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 it finds one shortest typed path between two entities, specifying typed edges and opt-in heuristic edges. This distinguishes it from sibling tools like graph_neighbors or auth_path.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'for connection questions' implies usage context but does not explicitly state when to use this tool vs alternatives like graph_neighbors or auth_path. No exclusions or conditions are provided.

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/drhalto/agentmako'

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