Skip to main content
Glama

ngit_repo

Read-only

Fetches metadata for a Nostr-hosted git repository—maintainers, servers, health, and default branch tip—so you can verify repo status before interacting.

Instructions

Repository metadata: name, maintainers (confirmed/invited), git servers, health, default branch tip.

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>"
    },
    "name": "ngit_repo"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 and network reach are covered. The description adds useful content about what fields are returned (maintainer status distinction, health, branch tip), but doesn't mention caching behavior or the cost of the 'fresh' refresh beyond what the schema says.

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?

A single compact noun-phrase sentence, front-loaded with the resource and listing the returned fields. It's efficient, though as a fragment it lacks the verb that would make it fully explicit.

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

Completeness4/5

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

With a read-only, two-parameter tool, full schema coverage, and no output schema, the description covers the essential payload. It could say more about cache-vs-network behavior and error cases when the repo URI is unresolvable, but it's adequate for correct invocation.

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%, with both 'repo' (including the nostr:// URI format) and 'fresh' documented in the schema itself. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 names the specific resource (repository metadata) and enumerates what it returns: name, maintainers with confirmed/invited status, git servers, health, and default branch tip. That distinguishes it from a generic get, but it doesn't explicitly differentiate from siblings like ngit_get or ngit_activity.

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?

The description implies usage as the metadata lookup for a single repo, but gives no explicit when-to-use or when-not-to-use guidance relative to ngit_get, ngit_list, or ngit_activity. The agent must infer the division of labor from sibling names.

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