Skip to main content
Glama

AdsAgent — TikTok Ads MCP

Read the latest task

tasks_latest
Read-only

Return the latest completed-or-partial task for one task_type. Returns has_task=false when nothing is found. Mirror of Meta MCP tasks_latest.

REQUIRED: task_type (str — one of: pull_tiktok_insights, sync_tiktok_binding, sync_tiktok_pixels, sync_tiktok_audiences, sync_tiktok_identities, sync_tiktok_shops, sync_tiktok_tt_accounts, sync_tiktok_apps, sync_tiktok_cta_portfolios, create_tiktok_ad, handle_create_tiktok_ad, create_ad, refresh_assets). EXAMPLE: tasks_latest({"task_type": "pull_tiktok_insights"})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_typeYes
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.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered externally. The description does add genuine behavior beyond that by disclosing the has_task=false sentinel and the 'completed-or-partial' state semantics, but it says nothing about ordering guarantees, task object contents, or staleness of the returned record.

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?

Front-loaded with the core verb and return semantics, followed by the required-parameter block and example. The 14-value enum list is long but earns its place given 0% schema coverage; there is no filler prose.

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, the description does the useful work of naming the has_task=false case, but it does not describe the shape of the returned task (status, timestamps, task id) or explain the second parameter. Adequate for invocation, incomplete for interpreting the result.

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?

Schema description coverage is 0%, so the description carries the full burden — and it does document the required task_type thoroughly, including all 14 allowed values and a worked example the bare schema lacks. It leaves connection_context (the mctx_v1_ pattern param) entirely unexplained, which is the one remaining gap.

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 specific verb (Return), resource (the latest completed-or-partial task), and scope (for one task_type), which distinguishes it from tasks_list and tasks_get_status. It does not explicitly name those siblings, but the 'latest' + 'one task_type' framing is specific enough for an agent to select it correctly.

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 example call shows the intended invocation and the enum list constrains valid task_type values, but there is no explicit statement of when to use this over tasks_list, tasks_get_status, or tasks_get_create_detail. The 'Mirror of Meta MCP tasks_latest' note is cross-referential rather than actionable guidance, so usage is implied rather than declared.

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