Skip to main content
Glama

github_copilot_set_enterprise_code_review_policy

Idempotent

Configure the Copilot code review policy for an enterprise by specifying the enterprise and policy settings.

Instructions

Set 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_set_enterprise_code_review_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
enterpriseYesenterprise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: it does not say whether the policy fully replaces existing configuration, what defaults apply, or what happens on invalid payloads — meaningful gaps for a write operation with an opaque body.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no wasted wording, and the scope is front-loaded. Its brevity is trivial rather than efficient, since several sentences of required content are simply absent.

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?

This is a mutation tool whose payload is an untyped nested object, with no output schema to explain results and no annotations covering payload semantics. Given that complexity, the definition should describe the policy fields and replacement behavior; it provides none of it.

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

Parameters2/5

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

Schema coverage reads as 100%, but the only substantive parameter is a free-form object described merely as 'Request body (JSON object)' with no properties enumerated. The description does not compensate by naming any policy fields, so an agent has no idea what shape to send. The 'enterprise' parameter is also documented only as 'enterprise', a tautology.

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 names a specific verb (set) and resource (Copilot code review policy) at a stated scope (enterprise), which is enough to distinguish it from the organization-level sibling. However, it is nearly a verbatim restatement of the tool name and title, adding no detail about what the policy controls or what 'set' replaces.

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 when-to-use guidance, no mention of the get_enterprise_code_review_policy counterpart, and no stated prerequisites (e.g., enterprise admin permissions). The agent must infer the workflow entirely from the 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