Skip to main content
Glama

find_paths

Read-onlyIdempotent

Trace bounded relationship paths between two OKF concepts, limiting results by count and edge kinds to reveal how knowledge nodes connect.

Instructions

Find bounded relationship paths between two OKF concepts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesCanonical or path based okf URI where path search begins.
targetYesCanonical or path based okf URI where path search ends.
maxPathsNoMaximum number of distinct paths to return.
edgeKindsNoLimit path traversal to these edge kinds.
Behavior3/5

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

The annotations already declare readOnlyHint=true and idempotentHint=true, so the description only adds 'bounded' to indicate limits. It does not describe what happens when no path exists, path ordering, or performance characteristics, providing minimal additional 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.

Conciseness5/5

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

The description is a single sentence with no extraneous words, directly stating the tool's purpose. It is perfectly front-loaded and efficient.

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

Completeness3/5

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

Given the tool has no output schema, the description does not specify the return structure (e.g., list of paths with nodes/edges). The 'bounded' qualifier is vague without details on limits or edge cases. While annotations and schema cover safety and parameters, this gap prevents a higher score.

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

Parameters3/5

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

The input schema provides 100% coverage with descriptions for all four parameters (source, target, maxPaths, edgeKinds). The description's phrase 'bounded relationship paths' loosely maps to maxPaths and edgeKinds but adds no new meaning beyond the 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 uses a specific verb (Find) and resource (bounded relationship paths between two OKF concepts), clearly differentiating it from sibling tools like get_neighbors (immediate neighbors) or get_subgraph (subgraphs). It is concise and unambiguous.

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?

No guidance is provided on when to use this tool versus alternatives. The description does not mention scenarios like multi-hop traversal or contrast with get_neighbors, leaving the agent to infer usage from context.

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/mfdaves/okf-mcp'

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