Skip to main content
Glama

Quote a live ads pull

quote_pull_brand_ads
Read-onlyIdempotent

Returns a live ads pull’s credit price, included transcripts and daily cap, with a confirmation key. Accepts pages from search_advertisers, including suggestions. Quotes fetch nothing and spend nothing; pull_brand_ads starts the fetch after approval. First and empty pulls are free; five pulls per account per UTC day, also using the web explore_pull allowance. Empty pulls count; failed pulls and replays are excluded

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": {
      "facebook_page_id": "<facebook_page_id>",
      "page_name": "<page_name>"
    },
    "name": "quote_pull_brand_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_nameYesAdvertiser name for that Facebook page from search_advertisers.
response_formatNoOutput format: text (default) or json. table is not available for this tool.
facebook_page_idYesFacebook page id from search_advertisers advertisers or suggestions. Identifies the intended advertiser page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and idempotentHint, but the description adds substantive context beyond them: quotas (five pulls per account per UTC day, shared with the web explore_pull allowance), the fact that first and empty pulls are free while empty pulls still count, and that failed pulls and replays are excluded. These are exactly the cost and rate-limit constraints an agent needs to avoid surprising the user.

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?

The description is front-loaded with the return payload, then cost behavior, then quota rules — a logical order with no filler sentences. It is slightly dense and reads as a run-on in the quota clause, and the final sentence lacks terminal punctuation, which marginally hurts scanning.

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

Completeness5/5

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

There is no output schema, but the description enumerates what the quote returns (credit price, transcripts, daily cap, confirmation key), covers the cost model and quotas, and names the follow-up tool. Nothing an agent needs in order to call this correctly and explain the result appears to be missing.

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 both parameters are well documented in the schema, so the baseline is 3. The description's note that it accepts pages from search_advertisers, including suggestions, largely restates what the schema already says for facebook_page_id and page_name, adding little new meaning.

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 states a specific verb and resource — it returns a live ads pull's credit price, included transcripts, daily cap, and a confirmation key — which precisely characterizes a quote/preview operation rather than an execution. It explicitly contrasts with the sibling pull_brand_ads, which 'starts the fetch after approval', so an agent can distinguish the two without opening either schema.

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?

It states when to use this tool ('Quotes fetch nothing and spend nothing') versus the alternative ('pull_brand_ads starts the fetch after approval'), giving an explicit decision rule. It also states the input provenance — pages from search_advertisers, including suggestions — so the agent knows the prerequisite discovery step.

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.