Skip to main content
Glama

Unregister an Entra application

cs_admin_unregister_application

Remove an Entra application's tenant registration. Use confirm:true to execute the change; without it, performs a dry run.

Instructions

Remove an Entra application's tenant registration. Changes tenant configuration: requires confirm: true. Runs 'pac admin application unregister' 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)
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.
applicationIdYesApplication (client) id
timeoutSecondsNoDefault 600

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations, the description carries the full burden of behavioral disclosure, and it meets it. It explicitly warns 'Changes tenant configuration' and 'Mutates a live environment: requires confirm: true (a dry run otherwise).' It also names the underlying command and that it uses the active pac auth profile, giving the agent important side-effect and safety context.

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?

The description is short and front-loads the core action, but it redundantly repeats 'requires confirm: true' in consecutive sentences and uses both 'Changes tenant configuration' and 'Mutates a live environment' to make similar points. The redundancy is noticeable; a single combined warning would have been tighter.

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?

The schema is rich and fully documents all six parameters, including confirm, profile, and background behavior. The description adds the essential context about mutation, dry-run behavior, and the underlying pac command. It does not describe return values or error cases, but no output schema exists and the tool is well-covered for an admin unregister operation.

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 baseline is 3. The description reinforces the confirm parameter's role ('requires confirm: true') and the active auth profile, but these details are already fully captured in the input schema. It does not add significant new meaning beyond the schema.

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?

The description begins with a specific verb and resource: 'Remove an Entra application's tenant registration.' It clearly names the exact underlying command ('pac admin application unregister'), and the presence of a sibling cs_admin_register_application makes the contrast obvious. An agent can immediately understand what this tool does and how it differs from similar tools.

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 description provides clear context: it is for unregistering an application, changes tenant configuration, mutates a live environment, and requires confirm: true to actually perform the change, otherwise it is a dry run. It does not explicitly name alternatives or when-not-to-use conditions, but the purpose and destructive nature are stated well enough for an agent to decide when to invoke it.

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