Skip to main content
Glama

subgraph

Return the raw graph of station neighbors within a radius to answer complex connectivity questions that simple neighbor queries cannot.

Instructions

駅の周辺の生グラフ(半径N駅のエッジ一覧・種別つき)をそのまま返す。neighbors で足りない構造の問いはこれを読んで自分で辿る。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
radiusNo半径(駅数。既定2、最大4)
stationYes中心の駅名
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the result is raw/unprocessed ('生グラフ...そのまま返す'), includes edge types, and requires the caller to do its own traversal. These are useful behavioral cues, but it does not disclose return format details, whether the result has limitations beyond the schema's stated max radius, or any other operational behavior.

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 compact sentences with zero filler. The purpose is front-loaded in the first sentence, and the second adds usage guidance that differentiates from the sibling. Each sentence earns its place, though the overall lean length trades off some behavioral depth.

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?

With no output schema and no annotations, the description is the only source for return expectations. It conveys that the result is a typed edge list within a radius, which is adequate for a simple two-parameter read tool. However, it omits the concrete output format and any structural details of the graph, leaving the agent to infer what 'raw graph' means in practice.

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?

Schema coverage is 100%: both radius (default 2, max 4) and station are already documented in the input schema. The description reinforces the radius concept ('半径N駅') but adds no meaning beyond what the schema already provides. Baseline 3 is correct when the schema carries the parameter documentation burden.

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 states a specific verb+resource: it returns the raw graph (edge list with type) within radius N stations around a station. It explicitly distinguishes itself from the sibling 'neighbors' by noting it serves structural queries that neighbors cannot handle and requires self-traversal. An agent can differentiate subgraph from neighbors 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?

The second sentence gives clear when-to-use guidance: for structural queries that neighbors doesn't suffice for, read this and traverse it yourself. It references the alternative tool and the condition that selects it. However, it does not explicitly state the inverse (e.g., 'use neighbors for simple neighbor lookups'), leaving that exclusion implied rather than stated.

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/yataro-fujinaga/ekigraph'

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