Skip to main content
Glama
ComplianceCow

ComplianceCow MCP Server

fetch_execution_progress

Monitor compliance rule execution progress by polling for real-time updates. Track task-level progress bars and detect completion using continue_polling flags to know when execution finishes.

Instructions

Fetch execution progress for a running rule.

IMPORTANT FOR CLAUDE/CLIENT:

This tool returns a snapshot of current progress. To see real-time updates:

  1. Call this tool repeatedly every 1 seconds

  2. Check the "continue_polling" flag in response

  3. If continue_polling=true, call again after 1 seconds

  4. If continue_polling=false, execution is complete

DISPLAY INSTRUCTIONS FOR CLAUDE:

When displaying progress, REPLACE the previous output (don't append):

šŸ”„ Execution Progress (Live) ─────────────────────────────────

Show each task on ONE line that UPDATES in place: • task_name (type) [progress_bar] XX% STATUS

Use these Unicode blocks for progress bars:

  • COMPLETED: 🟦 (blue blocks)

  • INPROGRESS: 🟩 (green blocks)

  • ERROR: 🟄 (red blocks)

  • PENDING: ⬜ (white blocks)

After each poll, REPLACE the entire progress display with new data. DO NOT show multiple versions of the same task.

EXAMPLE DISPLAY SEQUENCE: Poll 1: • fetch_users (HTTP) ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜ 0% PENDING • process_data (Script) ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜ 0% PENDING

Poll 2 (REPLACES above): • fetch_users (HTTP) 🟩🟩🟩🟩⬜⬜⬜⬜⬜⬜ 40% INPROGRESS • process_data (Script) ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜ 0% PENDING

Poll 3 (REPLACES above): • fetch_users (HTTP) 🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦 100% COMPLETED • process_data (Script) 🟩🟩🟩⬜⬜⬜⬜⬜⬜⬜ 30% INPROGRESS

RESPONSE FLAGS:

  • continue_polling: true = keep polling every 1 seconds

  • continue_polling: false = execution complete, show final summary

  • display_mode: "replace" = replace previous display

UI DISPLAY REQUIREMENT:

  • The file URL must ALWAYS be displayed to the user in the UI, allowing the user to view or download the file directly.

Args: rule_name: Rule being executed execution_id: ID from execute_rule()

Returns: Dict with progress data and polling instructions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rule_nameYes
execution_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Excellent disclosure of snapshot nature, real-time polling requirements, timing constraints (1 second intervals), and response flags (continue_polling, display_mode) with no annotations present to contradict.

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

Conciseness2/5

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

Extremely verbose due to massive DISPLAY INSTRUCTIONS section with Unicode block examples and formatting rules that dilute the core tool semantics; front-loaded purpose saves it from being a 1.

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?

Adequately covers the complex polling interaction pattern and acknowledges output structure (Dict with progress data) without unnecessarily duplicating output schema details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Compensates for 0% schema description coverage by clarifying rule_name is the 'Rule being executed' and critical context that execution_id comes from execute_rule().

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?

Opening sentence clearly states it fetches execution progress for running rules, though this is somewhat buried under extensive display formatting instructions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly details the polling pattern (call every 1 second), when to continue vs stop (continue_polling flag), and relationship to execute_rule (execution_id source).

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/ComplianceCow/cow-mcp'

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