Skip to main content
Glama
PyMC Marketing MCP

PyMC Marketing MCP

by funnelscript

Poll Job Progress

poll_job_progress
Read-onlyIdempotent

Poll a running job's progress using a non-blocking heartbeat with a short timeout, preventing AI client timeout failures during long-running tasks.

Instructions

Non-blocking heartbeat poll waiting up to timeout_seconds for progress to avoid AI client timeout collapses.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "<job_id>"
    },
    "name": "poll_job_progress"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds real value by disclosing the blocking/waiting semantics ('non-blocking heartbeat', waits up to timeout_seconds) that annotations cannot express. It does not say what is returned when the timeout elapses without progress, which is the key behavioral question for a poller.

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?

A single tight sentence with the key constraint (waiting up to timeout_seconds) placed early and no redundant restatement of the name. 'Timeout collapses' is slightly jargon-y but compact.

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

Completeness2/5

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

No output schema exists, so the description is the only place to explain what progress payload looks like and what happens on timeout expiry, and it omits both. Combined with zero schema coverage on the required job_id, an agent lacks enough to call this confidently in a polling loop.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning, and it largely does not. It references timeout_seconds by name only (no units, no effect of expiry beyond 'waiting up to') and never mentions the required job_id at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description conveys a poll-for-progress operation and the non-blocking heartbeat nature, but never states the object being polled (a job) or how it differs from the sibling get_job_status. An agent must infer from the name and title that this is job progress polling rather than a status fetch.

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?

No explicit when-to-use or when-not-to-use guidance. It hints at the motivation (avoiding AI client timeout collapses) but never says when to pick this over get_job_status or get_model_status, nor whether it should be called repeatedly.

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