Skip to main content
Glama

cypher_link_pr

Attach the fix PR to its issue via the FIXES edge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
npubNo
pr_urlYesThe actual GitHub URL of the PR that fixes this issue (from gh pr create).
pr_numberYesThe PR's own number (gh pr create prints it) — the PullRequest node identity.
repo_nameYesRepository name.
dpop_tokenNo
issue_numberYesThe GitHub issue number the PR fixes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Added
  10. Removed
  11. Changed3 schema fields changed
    • changedInput schema / properties / issue_number / description
      Previous value: -"GitHub issue number."New value: +"The GitHub issue number the PR fixes."
    • addedInput schema / properties / pr_number
      Added value: +{
      +  "description": "The PR's own number (gh pr create prints it) — the PullRequest node identity.",
      +  "type": "integer"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "pr_url",
      -  "repo_name",
      -  "issue_number"
      -]New value: +[
      +  "pr_url",
      +  "pr_number",
      +  "repo_name",
      +  "issue_number"
      +]
  12. Added
  13. Removed
  14. Added
  15. Removed
  16. Added
  17. Removed
  18. Added

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It only states the action ('attach') but does not explain whether the operation is idempotent, what side effects occur (e.g., edge creation, node updates), permissions required, or error conditions. This is a significant gap for a mutation tool.

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?

The description is a single, front-loaded sentence that efficiently captures the core action. It is not verbose, but it achieves conciseness at the expense of omitting important context. It earns its place but could benefit from slight expansion.

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

Completeness2/5

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

Given the tool has 6 parameters, no output schema, no annotations, and many siblings, the description is insufficiently complete. It does not describe return values, prerequisites (e.g., existence of PR/issue nodes), whether this is part of a workflow, or any constraints. The agent lacks enough context to use this tool reliably in a complex scenario.

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?

The description adds no parameter-level information beyond what the input schema already provides. Schema description coverage is 67%, with npub and dpop_token undocumented in both schema and description. The description does not clarify the roles of these parameters or their relationships, requiring the agent to infer meaning from names alone.

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 clearly states the action ('Attach the fix PR to its issue') and specifies the mechanism ('via the FIXES edge'). It uses a specific verb and resource, and among sibling tools like cypher_link_issue_to_capability, it uniquely identifies this tool's role by mentioning 'fix PR' and 'FIXES edge', distinguishing it effectively.

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?

The description provides no guidance on when to use this tool versus alternatives like cypher_upsert_pull_request or cypher_link_issue_to_capability. While the use case is implied (linking a fix PR to its issue), there is no explicit context, exclusions, or comparison to other linking tools, leaving the agent without decision-making support.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.