Skip to main content
Glama

AdsAgent — TikTok Ads MCP

Read task progress

tasks_get_status
Read-only

Poll an Agent Method task by opaque task_ref using the bounded common response, or inspect an existing tnapi_ report task_ref from a first-party native workflow on its original connection/token. A completed report task returns the native download next_action. Legacy task_id input remains accepted but returns the same bounded status-only envelope, never raw result or logs. At terminal=true, consume result and source_anchor directly; never resubmit the original page-one Agent Method query merely to recover that task. A later user request to check again starts a new cached page-one query without old cursors/anchors; it does not request a provider refresh.

REQUIRED: exactly one of task_ref (opaque ref from insights_query_consistent) or task_id (legacy UUID). Optional: response_mode=compact for task_ref. EXAMPLE: tasks_get_status({"task_ref": ""})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idNo
task_refNo
response_modeNocompact
connection_contextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations cover readOnly/destructive/openWorld, but the description adds substantive behavior beyond them: responses are bounded and 'never raw result or logs', legacy task_id returns a status-only envelope, and a completed report task returns a native download next_action. That is genuine disclosure not present in the annotations.

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

Conciseness3/5

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

Front-loaded with the primary action, and the terminal-consumption rule is useful, but several sentences are dense with private vocabulary and slightly repetitive around resubmission/refresh semantics. It is longer than it needs to be for three parameters.

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 0% schema coverage, the description carries full burden; it does well on response shape (status-only, next_action at terminal) but leaves connection_context unexplained and does not enumerate the bounded envelope's fields, so an agent still has gaps for a 4-parameter tool.

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 0% across 4 params, so the description must carry the load. It documents task_ref (opaque ref), task_id (legacy UUID), and response_mode=compact, but connection_context is only obliquely gestured at ('on its original connection/token') and its format/purpose is never explained.

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?

States a concrete verb+resource ('Poll an Agent Method task by opaque task_ref', 'inspect an existing tnapi_ report task_ref') and names the bounded status-only envelope. It is distinguishable from tasks_list/tasks_latest in that it targets a single task by ref, though the heavy private jargon ('bounded common response', 'tnapi_ report task_ref') forces the agent to parse rather than instantly recognize the purpose.

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?

Gives real when-to-use guidance: poll by task_ref from insights_query_consistent, do not resubmit the original page-one query at terminal=true, and a later 'check again' starts a new cached query rather than a provider refresh. It does not explicitly contrast against the closest siblings (tasks_list, tasks_latest, tasks_get_create_detail), which is the one missing piece.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources