Skip to main content
Glama

meta_ads_ad_rules_get

Retrieve the full details of a Meta Ads automated rule, including evaluation triggers, filters, and action parameters, for review or incremental updates.

Instructions

Fetches the full detail record for a single Automated Rule including the full evaluation_spec and execution_spec. Returns id, name, status, evaluation_spec (triggers and filters), execution_spec (action + parameters), schedule_spec (when rule runs), created_by, created_time, and last_evaluated_time. Read-only. Call this before meta_ads_ad_rules_update so you can merge incremental changes rather than overwrite the whole spec.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idNoMeta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required.
rule_idYesRule ID as returned by meta_ads_ad_rules_list.
Behavior4/5

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

Declares read-only and enumerates return fields, adding value beyond the name. However, with no annotations, it could include details on authentication, rate limits, or error handling. Still provides sufficient transparency for a simple fetch.

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

Conciseness5/5

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

Three sentences: action+return, return fields, usage guidance. No redundancy, front-loaded with key info. Extremely concise.

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?

Enumerates return fields despite no output schema, and provides usage context. Could be improved by mentioning error scenarios or return format, but overall sufficient for a get 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 coverage is 100%, and the description adds minimal extra meaning (e.g., account_id fallback). Baseline 3 is appropriate as the schema already describes parameters adequately.

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 clearly states it fetches the full detail record for a single Automated Rule, listing specific returned fields like evaluation_spec and execution_spec. It distinguishes from sibling tools (e.g., list vs single, read-only vs create/update/delete).

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?

Explicitly advises calling this before meta_ads_ad_rules_update to merge incremental changes, providing clear when-to-use context. Implicitly directs agents to use this for fetching details rather than listing.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/logly/mureo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server