Skip to main content
Glama
GMAC MCP Server

GMAC MCP Server

by bsommers

List Pull Requests

list_pull_requests

Retrieve open pull requests across tracked GitHub sources, optionally filtered to one source and ordered by newest update.

Instructions

Open PRs across tracked sources (optionally one), newest update first.

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": "list_pull_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that only open PRs are returned, that all tracked sources are searched by default, and that results are ordered by newest update, but it does not mention pagination, limits, or permission requirements.

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 description is a single compact sentence with no wasted wording. The scope and default behavior are front-loaded, and the ordering rule is appended efficiently.

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?

For a simple list tool with one optional parameter and an output schema, the description covers the essential scope, default source behavior, open-only filtering, and sorting. The remaining gap is source identifier semantics, which is minor but relevant given the 0% schema description coverage.

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 0%, so the description must explain the single optional source parameter. It does clarify that the parameter optionally limits the search to one source, but it does not explain the expected source identifier format or how to discover valid sources.

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 gives a specific verb and resource: listing open PRs across tracked sources, optionally limited to one source, ordered by newest update. It is clear enough to distinguish this from a single-PR getter, though it does not explicitly name sibling tools such as list_repo_pull_requests.

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 phrase 'across tracked sources (optionally one)' implies when to use this versus a repo-specific listing, and 'Open PRs' establishes the filter. However, it gives no explicit when-not guidance or named alternatives, so the agent must infer routing.

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