Skip to main content
Glama

d2moo_pull_requests

Lists and filters D2MOO's open, unmerged pull requests, and shows a selected PR's description and full diff so you can inspect fixes or new code awaiting review.

Instructions

D2MOO's open pull requests: bug fixes and new code that are written but still awaiting review, so they're not in the master code that search_code and read_code show. Check them whenever D2MOO's code bears on an answer. With no arguments, lists them all. query keeps the ones whose title, description, files or diff contain every word, e.g. 'vendor' or 'SUnitNpc'. number shows one PR's description and full diff; for a long diff, continue with the offset the result gives. Cite the PR link and say it's unmerged and may change in review.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "d2moo_pull_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo
numberNo
offsetNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that results are unmerged and may change in review, that citing the PR link with an unmerged caveat is expected, and that long diffs require offset chaining with the offset supplied by the result. It omits auth/rate-limit or ordering details but covers the behavior an agent needs to interpret and present results correctly.

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?

Front-loads purpose, then mode selection, then parameter behavior, then citation guidance — a logical progression with no filler. It is dense and slightly long, but nearly every clause adds operative detail rather than restating the name.

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

Completeness5/5

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

For a 3-parameter, zero-annotation tool with an output schema, the description covers usage triggers, empty-argument behavior, all three parameters, pagination, and post-call citation requirements. Nothing an agent needs to invoke and report on this tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate and does: 'query' is defined as AND-matching every word across title, description, files and diff (with concrete examples), 'number' selects one PR's description plus full diff, and 'offset' is defined as continuation for long diffs taken from the prior result. Each parameter gains semantics the bare schema lacks.

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?

Names a specific resource and scope — D2MOO's open pull requests, described as bug fixes and new code awaiting review — and explicitly distinguishes them from what search_code and read_code surface from master. An agent can tell exactly what this returns without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives an explicit trigger: 'Check them whenever D2MOO's code bears on an answer', and contrasts the content with search_code/read_code so the agent knows why to prefer this tool. It stops short of stating when not to call it (e.g. for merged code, use search_code), but the routing implication is clear.

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