Skip to main content
Glama

github_copilot_get_enterprise_code_review_policy

Read-only

Retrieves the Copilot code review policy for a specified enterprise, helping administrators inspect configured review settings and understand current policy.

Instructions

Get the Copilot code review policy for an enterprise

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": {
      "enterprise": "<enterprise>"
    },
    "name": "github_copilot_get_enterprise_code_review_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
enterpriseYesenterprise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

B3.4/5.0
Behavior3/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: it does not say what happens when no policy is configured for the enterprise, whether the response reflects defaults or only explicitly set values, or what the policy object contains.

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?

One short, front-loaded sentence with no filler, so an agent can parse the intent immediately. It is efficient but borders on restating the tool name, leaving no room for the context that would have earned a 5.

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

Completeness3/5

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

For a one-parameter read tool with full schema coverage, annotations, and no output schema, the description is adequate to call it correctly. It is still thin on outcome behavior, notably the empty/no-policy case and whether inherited defaults are included, which matter for interpreting a policy read.

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?

There is a single required parameter with 100% schema description coverage, so the schema already documents it; the baseline of 3 applies. The description's 'for an enterprise' merely reinforces that the parameter is the enterprise slug and adds no format, case, or naming detail beyond the schema.

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 states a specific verb (Get) and resource (Copilot code review policy) scoped to an enterprise, which separates it from the organization and repository policy siblings by scope keyword alone. It stops short of explicitly naming the get/set or org/repo alternatives, but an agent can still identify what it retrieves.

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?

Usage is only implied: the word 'enterprise' signals this is the enterprise-scoped read rather than the organization or repository variants. There is no explicit when-to-use, no prerequisites, and no mention of the set_enterprise_code_review_policy counterpart for mutations.

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