Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

lineage

Lists the parent, ancestor, and child pulls connected to a given pull, showing what it modifies and what modifies it.

Instructions

List a pull's lineage: the pull it tweaks (parent, and that one's ancestors) and the pulls that tweak it (children).

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": {
      "pull_id": "<pull_id>"
    },
    "name": "lineage"
  }
}

Input Schema

NameRequiredDescriptionDefault
pull_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
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 behavioral burden. It usefully discloses that the result includes both upward lineage (parent and ancestors) and downward lineage (children), but it does not mention permissions, pagination, depth limits, ordering, or behavior when a pull has no parent.

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 definition is a single front-loaded sentence with no wasted wording. The parenthetical clarifications make the lineage directions easy to parse.

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 one-parameter read tool, the description explains the conceptual return shape well enough. However, with no annotations, no output schema, and no parameter documentation, it leaves gaps around pull_id semantics and operational behavior.

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?

There is one required parameter, pull_id, and schema description coverage is 0%. The description implies that the parameter identifies the pull whose lineage is listed, but it adds no format, source, or lookup guidance beyond the schema's bare "Pull Id" title.

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, "List," and a specific resource, "a pull's lineage," then defines lineage as both the parent/ancestors and the children. It is clear what the tool returns, though it does not explicitly differentiate itself from siblings such as tweak or history.

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?

Usage is implied by the purpose: call this to inspect a pull's lineage. There is no explicit when-to-use guidance, no when-not-to-use guidance, and no named alternative for related traversal needs.

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