Skip to main content
Glama

path

Read-only

Find the shortest graph connection between two paper IDs, with optional citation links, or return null if no route exists.

Instructions

Find the shortest graph path between two paper IDs, or return null.

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": {
      "start_id": "<start_id>",
      "end_id": "<end_id>"
    },
    "name": "path"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_idYes
start_idYes
include_citesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds one useful behavioral fact — that it returns null when no path exists — but says nothing about what graph edges are traversed or how include_cites changes the search.

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?

A single tight sentence with zero filler, front-loading the action and stating the null-return edge case. Nothing could be removed without losing information.

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?

An output schema exists, so return-value explanation is not required, and the null case is noted. However, for a 3-parameter graph traversal with zero schema documentation, the undefined meaning of include_cites and the unspecified graph structure leave real gaps.

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%, so the description must compensate, and it barely does: 'two paper IDs' loosely maps to start_id/end_id but gives no format or semantics. The include_cites flag, which plausibly alters the graph edges considered, is left completely unexplained.

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 verb and resource: 'Find the shortest graph path between two paper IDs'. That is concrete enough to distinguish it from siblings like neighbors/search/show, though it never explicitly contrasts with them.

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 mention of the sibling tools (neighbors, search, show) that could also traverse paper relationships. The intended usage is only inferable from the tool's purpose statement.

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

Deploy Server

Other Tools