Skip to main content
Glama

Run Solution Checker

cs_check_solution

Analyze solution zip files using Power Apps Checker rule sets and save results locally. Use as a quality gate before solution deployment.

Instructions

Analyse solution zip files with the Power Apps Checker service (Solution Checker or AppSource Certification rule set) and write the results locally. Use as a quality gate before cs_deploy_solution. Runs 'pac solution check' with the active pac auth profile. Mutates a live environment: requires confirm: true (a dry run otherwise). Only some inputs mutate; see the parameter descriptions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory for pac (for project commands: the solution project folder)
geoNoChecker service geography
pathNoSolution zip file(s); glob allowed
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.
ruleSetNo'Solution Checker' (default), 'AppSource Certification' or a rule set id
backgroundNoRun in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
clearCacheNoClear the tenant's checker enforcement cache
environmentNoEnvironment id or URL; default: the environment of the active pac auth profile
saveResultsNoStore the results in the environment (Solution Health Hub)
solutionUrlNoSAS URL of a solution zip instead of path
excludedFilesNoFiles to exclude from the analysis
timeoutSecondsNoDefault 1800
outputDirectoryNoWhere to write the results
ruleLevelOverrideNoJSON file with rule level overrides

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations present, the description carries the behavioral burden well: it discloses that the tool mutates a live environment, requires confirm: true, performs a dry run otherwise, and only some inputs mutate. It also names the underlying pac command and active auth profile behavior, adding meaningful context beyond the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four compact sentences, each earning its place: what it does, when to use it, how it executes, and the critical mutation caveat. The most important safety information is near the end but still clearly flagged.

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 15-parameter tool with no output schema and no annotations, the description covers purpose, workflow placement, execution mechanism, and mutation behavior. The parameter schema is rich and 100% covered, but the description could still add a little more about what a successful run returns or how output is structured.

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 parameters are already fully documented and the description does not need to compensate. The description adds a general warning about mutation for some inputs and points to the parameter descriptions, but it does not add new semantic detail for any specific parameter.

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 ('Analyse solution zip files') and resource ('Power Apps Checker service') and clarifies it writes results locally. It also names the quality-gate role before cs_deploy_solution, which distinguishes it from deployment and other solution-related 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?

Explicitly says to use it as a quality gate before cs_deploy_solution, giving clear context for when it belongs in a workflow. It does not explicitly list when-not-to-use alternatives such as cs_check_drift, so it stops short of a full 5.

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