Skip to main content
Glama

github_copilot_set_enterprise_coding_agent_policy

Idempotent

Configure the coding agent policy for an enterprise to control how Copilot coding agents are enabled and governed.

Instructions

Set the coding agent 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_coding_agent_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, openWorldHint=true and idempotentHint=true, so the mutation semantics and idempotency are covered structurally. The description adds nothing beyond that: it does not say what the policy body must contain, whether existing policy settings are overwritten, what permissions are required, or what happens on invalid input.

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, front-loaded sentence with no wasted words. Its brevity is not achieved through padding or hedging, though it tips into under-specification rather than earning full marks for structure.

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 an enterprise-level mutation with an opaque free-form body parameter and no output schema, the definition is far too thin. An agent would have to guess the shape of the policy object in order to invoke this successfully.

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 parameter descriptions are placeholders — "Request body (JSON object)" and "enterprise" — and body is an unconstrained object with additionalProperties {}. The description does not compensate at all, leaving the most important parameter (the policy payload) wholly undefined.

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 ("Set") and resource ("coding agent policy") scoped to an enterprise, so the basic action is graspable. However, it is essentially a prose restatement of the tool name and does not distinguish it from near-identical siblings such as add_organizations_to_enterprise_coding_agent_policy or set_copilot_coding_agent_permissions_organization.

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 prerequisites, and no mention of alternatives. An agent cannot tell from this sentence whether setting the policy replaces an existing one, requires prior configuration, or overlaps with the sibling policy-editing tools.

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