Skip to main content
Glama

ngit_get

Read-only

Retrieve one pull request or issue with its full comment thread from a Nostr-hosted git repository; pull requests also include CI results.

Instructions

One PR or issue with its full comment thread (PRs include CI results in ci).

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": {
      "repo": "<repo>",
      "type": "<type>",
      "id": "<id>"
    },
    "name": "ngit_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesnevent1... or 64-hex
repoYesnostr://<npub or name@domain>/<relay>/<identifier>, or naddr1...
typeYes
freshNoforce a network refresh instead of serving the live cache

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?

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds useful output context (comment thread included, CI results in `ci`) but says nothing about the caching behavior implied by the `fresh` parameter or about behavior when the id is unknown.

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 front-loaded sentence with the key return-content detail in parentheses; nothing is wasted and nothing important is buried.

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, the description must convey return shape, and it does so only partially (comments and `ci`), without indicating structure of the thread, ordering, or pagination. For a tool with four parameters and no output schema, it is adequate but thin.

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 description coverage is 75%, so most parameters are already documented in the schema, including `fresh` and the repo format. The description adds no additional parameter meaning, which is the expected baseline when the schema carries the load.

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 states a specific resource ('One PR or issue') plus what comes with it ('full comment thread', CI results in `ci`), which distinguishes it from the sibling ngit_list. The retrieval verb is only implied by 'One ... with', so it is clear but not maximally explicit.

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 guidance, no mention of alternatives such as ngit_list for enumerating items or ngit_pr_diff for diffs, and no stated preconditions. The singular framing hints at single-item lookup but leaves the routing decision to inference.

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