Skip to main content
Glama

Quarantine or release an agent

cs_quarantine_agent

Quarantines or releases a Copilot Studio agent to block or restore user conversations. Admin operation; set confirm:true to modify a live environment, otherwise dry run.

Instructions

Put an agent in quarantine (users cannot talk to it) or release it. Admin operation. Runs 'pac copilot quarantine' with the active pac auth profile. Mutates a live environment: requires confirm: true (a dry run otherwise).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory for pac (for project commands: the solution project folder)
botIdYesAgent id (GUID)
confirmNoRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
profileNopac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles.
backgroundNoRun in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
quarantineNotrue to quarantine (default), false to release
environmentNoEnvironment id or URL; default: the environment of the active pac auth profile
timeoutSecondsNoDefault 600

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.8
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.5

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that this mutates a live environment, that confirm:true is required to avoid a dry run, that it runs 'pac copilot quarantine' under the active auth profile, and the user-visible effect of quarantine. It omits return shape and any pagination/rate-limit notes, but covers the critical destructive-operation traits.

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?

Four tight sentences with the operation, semantics, and the confirm safety gate front-loaded. No filler, though sentence 3 (the underlying pac command) is arguably internal implementation detail rather than agent-facing guidance.

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

Completeness4/5

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

For a destructive admin tool with no output schema and no annotations, the description is solid: it covers the mutation effect, the confirm requirement, and the auth profile context. It could be more complete by naming the sibling alternative or hinting at the response, but nothing essential to calling it correctly is 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 description coverage is 100%, so the schema already documents all 8 parameters. The description reinforces the confirm gate and the quarantine/release direction, but adds no format or syntax detail beyond what the schema provides, making the baseline 3 appropriate.

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 pair (quarantine/release) and resource (agent), and explains what quarantine means behaviorally ("users cannot talk to it"). It does not explicitly differentiate itself from the similar sibling cs_block_org_agent, so it falls short of a 5.

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?

Gives useful context ("Admin operation", requires confirm:true or it is a dry run), which implies when the tool will actually take effect. However, it never names an alternative or states when to prefer this tool over cs_block_org_agent or cs_delete_agent, leaving the routing decision to inference.

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