Skip to main content
Glama
clidey

whodb-cli

Official
by clidey

whodb_platform_lineage_neighbors

Read-onlyIdempotent

Fetch immediate lineage neighbors for a node by ID and type in a hosted project, with optional per-call workspace targeting.

Instructions

Return immediate lineage neighbors for one node in the selected hosted project. Accepts workspace {host, org, project} for per-call targeting without changing defaults.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNoOptional top-level output fields to include
node_idYesNode id
node_typeYesNode type
workspaceNoOptional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.135.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, and open-world behavior. The description adds useful scope ('immediate' neighbors, selected hosted project) and clarifies that workspace overrides do not change defaults, though it omits return shape and pagination details.

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?

Two tightly written sentences: the first states the action, the second handles workspace targeting. No filler or redundancy.

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?

For a simple read-only lineage lookup, the description covers the core operation and workspace override behavior. With no output schema, it still does not describe the returned neighbor structure or guide choice among sibling lineage tools, leaving clear inferential gaps.

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%, so the schema already documents node_id, node_type, fields, and workspace. The description only summarizes workspace targeting and adds no syntax or meaning beyond the schema descriptions.

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 uses a specific verb ('Return') and resource ('immediate lineage neighbors for one node'), making the operation clear. It does not explicitly name or distinguish itself from sibling lineage tools such as whodb_platform_lineage or whodb_platform_project_lineage, so it stops short of 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 Guidelines3/5

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

It gives context for one node and describes per-call workspace targeting with session-default fallback, but offers no when-to-use/when-not guidance or alternatives among the many lineage siblings. Usage is implied rather than explicit.

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