Skip to main content
Glama

UXON AI

integrations_meta_ads_opportunities_refresh

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Import fresh Meta Ads opportunity data through the existing dashboard importer for the selected ad accounts.

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": {
      "siteId": "<siteId>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "integrations_meta_ads_opportunities_refresh"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
dateRangeNo
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=true, and openWorld=false, so the safety profile is covered. The description adds that work is delegated to "the existing dashboard importer," hinting the call kicks off an import job, but says nothing about whether that job is synchronous, how long it takes, what happens to previously imported opportunity rows, or what errors surface if no ad accounts are selected.

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?

The description is short, but the opening sentence about reading agent.instructions.get is a cross-tool directive that consumes the front-loaded position without describing this tool. The one substantive sentence is efficient, so the waste is limited to ordering rather than length.

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?

This is a non-read-only import trigger with an output schema, so return values need no explanation, but the description omits the prerequisite account selection, the meaning and expected format of dateRange, and how idempotent retries behave beyond the annotation flag. With half the parameters undocumented in the schema, the description should carry more of that load than it does.

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 50%: teamId and idempotencyKey are documented, while siteId and dateRange are bare strings, and the dateRange maxLength of 80 gives no format hint. The description does not compensate for either gap, and its phrase "the selected ad accounts" references a selection that is not an explicit parameter, which risks an agent searching for a nonexistent ad-account argument.

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?

The second sentence states a specific verb and resource: "Import fresh Meta Ads opportunity data ... for the selected ad accounts," which lets an agent distinguish it from integrations_google_ads_opportunities_refresh and from integrations_meta_ads_opportunities_list. The only dilution is the added mechanism phrase "through the existing dashboard importer," which describes plumbing rather than purpose.

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 word "fresh" and the contrast with the sibling *_opportunities_list tool imply this is the trigger for a new fetch rather than a read of cached data, but that is left implicit. There is no explicit statement of prerequisites (e.g. that ad accounts must first be selected via integrations_meta_ads_accounts_select) or of when not to call it.

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