Skip to main content
Glama

Register an Entra application

cs_admin_register_application

Registers an Entra application with the tenant so Power Platform can use it. Requires confirm: true to apply changes; otherwise returns a dry run.

Instructions

Register an Entra application with the tenant so it can be used by Power Platform. Changes tenant configuration: requires confirm: true. Runs 'pac admin application register' 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. Changed1 schema field changedv0.1.8
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.5

TDQS

A3.8/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 changes tenant configuration, that it mutates a live environment, and that omitting confirm produces a dry run. It does not say what permissions are needed beyond the admin profile or what happens on failure, which keeps it from a 5.

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?

Front-loaded with the purpose in the first sentence, which is good. However, the confirm requirement is stated twice in slightly different words ('Changes tenant configuration: requires confirm: true' and 'Mutates a live environment: requires confirm: true'), which is wasted space in an otherwise short description.

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 tenant-mutating tool with no annotations and no output schema, it covers the critical operational facts: mutation, confirm gating, dry-run fallback, and the pac command it wraps. It leaves out permissions, error behavior and idempotency, so it is strong but not exhaustive.

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 all six parameters are already documented, including confirm's dry-run behavior and profile's defaults. The description restates the confirm semantics rather than adding new parameter meaning, so the baseline 3 applies.

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 specific verb and resource ('Register an Entra application with the tenant') plus the downstream benefit ('so it can be used by Power Platform'). This is clearly distinct from the sibling cs_admin_unregister_application and from app-creation tools like cs_admin_create_service_principal.

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?

The description implies usage by naming the underlying command and the confirm gate, so an agent knows it is a live tenant mutation, but it never states when to prefer this over alternatives (e.g., cs_admin_create_service_principal) or any exclusions. Prerequisite awareness is partial rather than explicit.

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