Skip to main content
Glama

github_copilot_get_organization_code_review_policy

Read-only

Retrieve the Copilot code review policy for a specified organization to understand its review settings.

Instructions

Get the Copilot code review policy for an organization

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": {
      "org": "<org>"
    },
    "name": "github_copilot_get_organization_code_review_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYesorg

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing further — no mention of required token permissions/scopes, whether the policy can be absent or returns a default, or any rate-limit or pagination behavior for this remote API call.

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 front-loaded sentence with zero filler or repetition. Its brevity is efficient, though it borders on under-specification that is penalized in the other dimensions.

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 simple one-parameter read tool this could be adequate, but there is no output schema, so the description should have hinted at the return shape (what fields the policy contains). Combined with no usage routing among several closely named siblings, an agent is left guessing about result interpretation.

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?

With only one parameter at 100% schema coverage, the schema does the documenting, so a baseline 3 applies. That said, the schema's own description is merely 'org', and the tool description does not clarify the org slug/name format or what happens with an invalid org.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Get') and resource ('Copilot code review policy') scoped to an organization, and the organization scope implicitly separates it from the enterprise variant. However, it is essentially the tool name de-slugged, adding no distinguishing detail about what a 'code review policy' contains or how it differs from the sibling settings/runner tools.

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 guidance on when to call this rather than github_copilot_get_enterprise_code_review_policy, github_copilot_get_organization_code_review_settings, or the corresponding set tool. The agent must infer the read-vs-write and org-vs-enterprise split purely from the tool name.

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