Skip to main content
Glama

Get live ads pull status

get_brand_pull_status
Read-onlyIdempotent

Returns the caller’s live ads pull status, new ad count, credits charged or released, and Facebook page id. Reads spend nothing. Status may be waiting during deferrals or search indexing, then completed, failed or cancelled. The response includes stop_polling and next_action with a maximum polling session of five minutes; completed ads are available through search_ads with facebook_page_id. An empty pull costs nothing

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_brand_pull_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idNojob_id returned by pull_brand_ads.
response_formatNoOutput format: text (default) or json. table is not available for this tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses that reads cost nothing, that an empty pull costs nothing, the full status lifecycle (waiting during deferrals or indexing, then completed, failed or cancelled), and the presence of stop_polling and next_action with a five-minute maximum session. That is exactly the kind of cost and polling behavior an agent needs and that annotations cannot convey.

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 return payload, then lifecycle, then polling and next-step routing — a logical order with no filler. The closing 'An empty pull costs nothing' slightly overlaps the earlier 'Reads spend nothing', but it adds a distinct edge case rather than pure repetition.

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?

With no output schema, the description carries the return-value burden and does so by listing the fields and the status states plus the stop_polling/next_action controls. It leaves the possible values of next_action and failure-recovery behavior unspecified, which is a modest gap for a polling 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 100%, and the schema already states that job_id comes from pull_brand_ads and that table is unavailable for response_format. The description adds no further meaning about either parameter, so the baseline of 3 applies.

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 names a specific verb and resource ('Returns the caller's live ads pull status') and enumerates the payload fields: new ad count, credits charged or released, and Facebook page id. That makes it clearly distinguishable from pull_brand_ads (which creates the job) and search_ads (which retrieves the finished ads).

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?

It implicitly places the tool in the workflow by tying job_id to pull_brand_ads, and it explicitly routes the agent to search_ads with facebook_page_id once the pull completes. It also bounds polling with the five-minute session limit. It stops short of an explicit 'call this after pull_brand_ads and not instead of it' statement, so it is strong rather than exhaustive.

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.