Skip to main content
Glama
michsob

PowerPlatform MCP

Scan Flow Health

scan-flow-health

Batch-scan Power Automate cloud flows to analyze run history and calculate success rates and failure counts for health diagnostics.

Instructions

Batch-scan all Power Automate cloud flows for health metrics. Fetches run history for each flow and computes success rates, failure counts. WARNING: batch operation that may take several minutes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysBackNoDays of run history to analyze (default: 7)
maxRunsPerFlowNoMax runs to check per flow (default: 100)
maxFlowsNoMax flows to scan (default: 500)
activeOnlyNoOnly scan activated flows (default: true)
environmentNoEnvironment name (e.g. DEV, UAT). Uses default if omitted.
Behavior4/5

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

With no annotations provided, the description carries full behavioral disclosure burden. It successfully warns that this is a 'batch operation that may take several minutes' and discloses the aggregation logic (fetches run history, computes rates). It lacks explicit read-only assurance or rate limit details, but covers the critical performance characteristic.

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?

Three sentences with zero waste: action statement, computational details, and performance warning. Information is perfectly front-loaded with the core batch-scan purpose before the warning.

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?

Given 5 parameters (all well-documented in schema), no annotations, and no output schema, the description compensates adequately by specifying the computed outputs (success rates, failure counts). It lacks explicit return structure description, but mentions sufficient detail about the health metrics to inform agent usage.

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%, establishing a baseline of 3. The description does not mention specific parameters, but the schema fully documents daysBack, maxFlows, activeOnly, etc. No additional parameter context (like recommended values for large environments) is provided in the description.

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 clearly states the verb (batch-scan), resource (Power Automate cloud flows), and specific outputs (computes success rates, failure counts). It distinguishes from sibling tools like get-flows or get-flow-runs by emphasizing the aggregate 'health metrics' nature and batch scope.

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 WARNING about duration provides implicit guidance that this is for comprehensive health audits, not quick checks. However, it lacks explicit when-to-use/when-not-to-use guidance comparing it to get-flow-runs or get-flow-inventory for targeted troubleshooting.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/michsob/powerplatform-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server