Skip to main content
Glama

github_pulls_request_copilot_code_review

Request a Copilot code review for a pull request by specifying the repository owner, repo, and pull number, so automated review feedback is triggered before merging.

Instructions

Request a Copilot code review for a pull request

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": {
      "owner": "<owner>",
      "repo": "<repo>",
      "pull_number": "<pull_number>"
    },
    "name": "github_pulls_request_copilot_code_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
repoYesrepo
ownerYesowner
pull_numberYespull_number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the agent knows this is a mutating, external-facing call. The description adds nothing beyond that: it does not say whether the request is asynchronous, whether it creates a pending review, whether it consumes Copilot quota, what happens on a PR that already has a Copilot review, or what is returned.

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 short sentence with no filler and the key action front-loaded. Its brevity is efficient, though it borders on under-specification rather than tight, purposeful writing.

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?

For a tool that triggers a non-trivial mutation with a free-form request body, no output schema, and thin annotations, the description leaves too much unstated: prerequisites, async/sync behavior, return value, and error conditions are all missing.

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 reported at 100%, but the field descriptions merely restate the parameter names ('owner', 'repo', 'pull_number'), so the schema itself carries little meaning. The description adds no parameter insight at all, and the free-form 'body' object with additionalProperties is entirely opaque in both schema and description; baseline 3 applies given nominal full coverage.

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?

States a specific verb ('Request') and a specific resource ('a Copilot code review for a pull request'), and the 'Copilot' qualifier implicitly separates it from human-review tools like github_pulls_request_reviewers. It stops short of naming any sibling explicitly, so an agent must infer that distinction.

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?

No when-to-use or when-not-to-use guidance is given: nothing about Copilot code review needing to be enabled on the repo/org, nothing about whether a review already exists, and no reference to alternatives such as github_pulls_request_reviewers or github_pulls_create_review. Only the name and description imply the use case.

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

Deploy Server

Other Tools