Skip to main content
Glama

Read connector consent bypass

cs_get_connector_consent_bypass

Read whether an admin enabled connector consent bypass for a Copilot Studio agent, letting its connector tools run without each end user approving the connection. Read-only.

Instructions

Answer 'do users have to approve this agent's connectors?': read whether an admin has switched connector consent bypass on for the agent, so its connector tools run without each end user consenting to the connection first. Read-only. cs_set_connector_consent_bypass is the separate step that changes it. Follows the published Power Platform API reference; not yet verified against a live tenant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
botIdNoAgent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdNoEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
tenantIdNoEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspaceNoPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.
environmentIdNoPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.8

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it declares 'Read-only', explains the operational meaning of the flag (connector tools run without each end user consenting), and adds a material reliability caveat ('not yet verified against a live tenant'). It omits auth/permission requirements and error behavior, which for a tenant-admin-scoped read would be useful.

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?

Front-loaded with the user-facing question and the answer clause, followed by the sibling pointer and the verification caveat. Every sentence carries information; the only slight redundancy is the question framing immediately restated by the 'read whether...' clause.

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?

Covers what the tool answers, its read-only nature, the sibling relationship, and a reliability caveat — ample for a zero-required-parameter read. With no output schema, it could still say more about the returned shape (a boolean flag plus which fields identify the agent), and it is silent on authentication prerequisites.

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?

All five parameters have full schema descriptions including their environment-variable and workspace-sync defaults, so the schema does the heavy lifting. The description adds no per-parameter meaning beyond what the schema already states, which is the expected baseline at 100% coverage.

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

Purpose5/5

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

States a precise verb and resource ('read whether an admin has switched connector consent bypass on for the agent') and frames it as answering a concrete question. It explicitly names cs_set_connector_consent_bypass as the different, mutating step, so the agent can disambiguate without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The opening question ('do users have to approve this agent's connectors?') gives a clear trigger for selection, and the setter is named as the separate alternative. It stops short of stating exclusions or prerequisites (e.g. that authentication must already be established), so it is clear context rather than a full when/when-not map.

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