Skip to main content
Glama

wp_get_acf

Retrieve all Advanced Custom Fields values for a specified WordPress post, returning them as a JSON object.

Instructions

Read a page/post's ACF (Advanced Custom Fields) values as a JSON object.

Returns every ACF field value on the post, keyed by field name - strings, numbers, booleans, and lists (repeaters/galleries) pass through untouched. Read-only. Requires the REST transport AND ACF active on the site (ACF free or Pro); a site without ACF comes back as an error, not a crash. install is the WP Engine install name; get post_id from wp_find_page / wp_get_content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
installYes
post_idYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.4.0

TDQS

A4.3/5.0
Behavior4/5

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

The description explicitly states the operation is read-only, which implies no side effects, and describes the error behavior for missing ACF. It does not detail further side effects or error codes, but for a simple read operation this is sufficient.

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 concise but includes a slightly redundant second sentence about return types. Overall it is well-structured, focused, and avoids unnecessary filler, though a minor trim could improve clarity.

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?

Given the absence of an output schema, the description covers the essential context: it specifies the output format, the types of values, prerequisites, and error behavior. It does not address edge cases like pagination, but these are less relevant for a simple ACF retrieval.

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?

The schema provides no descriptions, but the tool description explains that 'install' is the WP Engine install name and instructs the agent to obtain 'post_id' from wp_find_page or wp_get_content. This adds meaningful semantics beyond the bare parameter names.

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 the action (read), the resource (page/post's ACF values), and the output format (JSON object). It also distinguishes this read operation from the sibling wp_set_acf tool by explicitly noting 'Read-only'.

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?

The description provides practical guidance by specifying the prerequisite that the REST transport and ACF must be active, and explains that a site without ACF returns an error rather than crashing. It effectively tells the agent when and how to use this tool.

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

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/ad02/wp-ops-mcp'

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