Skip to main content
Glama

List service principals with Dataverse access

cs_admin_list_service_principals

List Entra applications with Dataverse application users that can act without sign-in, using pac admin list-service-principal and the active pac auth profile.

Instructions

Entra applications that have an application user in Dataverse: who can act without a person signing in. Runs 'pac admin list-service-principal' with the active pac auth profile.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory for pac (for project commands: the solution project folder)
maxNoMaximum applications (default 20)
filterNoApplication name starts-with filter
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.
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

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the underlying command ('pac admin list-service-principal') and that it runs against the active pac auth profile, which hints at a read operation and its auth dependency. However, it says nothing about result volume, pagination, or the effect of the max/filter parameters on output.

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?

Two tight sentences: the first defines the resource, the second anchors the underlying command and auth context. Front-loaded and waste-free, with only mild redundancy around the auth profile.

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

Completeness3/5

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

With no output schema and no annotations, the description explains what the tool conceptually returns but omits any sense of output shape or pagination behavior. For a six-parameter list tool, it is adequate but not fully self-sufficient.

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 in the schema. The description only echoes the auth-profile behavior ('with the active pac auth profile'), adding no meaningful semantics beyond what the schema's 'profile' description already provides.

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?

The description states a specific resource (Entra applications with an application user in Dataverse) and clarifies the concept (apps that act without a person signing in), plus the underlying command. It is clear what the tool lists, though it does not explicitly differentiate itself from siblings like cs_admin_list_applications or cs_admin_create_service_principal beyond the verb 'list'.

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 explicit guidance on when to use this tool versus alternatives such as cs_admin_list_applications (Entra app registrations) or cs_admin_register_application. Usage is only implied by the resource name; no preconditions or exclusions are given.

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