Skip to main content
Glama

Frontman for WordPress

wc_get_catalog_display

Read-onlyIdempotent

Reads a WooCommerce catalog display setting. Empty string means products; subcategories means categories; both means categories and products. Uses the native WooCommerce Customizer setting using local WordPress authentication; no WooCommerce REST API keys are required.

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": {
      "site_id": "<site_id>",
      "name": "<name>"
    },
    "name": "wc_get_catalog_display"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe shop page or product category archive display setting.
site_idYesThe connected site's id returned by list_sites. Call list_sites first; do not use a URL or WordPress post ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a read-only, idempotent, non-destructive operation, so the safety profile is covered. The description adds useful behavioral context about authentication: local WordPress authentication and no WooCommerce REST API keys required, plus semantics for the setting values. It does not describe error behavior, but for a simple read that is a minor gap.

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 three sentences, front-loaded with the tool's purpose. The value-semantics sentence packs three cases but earns its place; the authentication sentence adds useful context without excess.

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?

For a two-parameter read tool with complete schema coverage, complete annotations, and no output schema, the description provides enough context to invoke it correctly. It could explicitly point to the update sibling, but that is not essential for correct invocation.

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%, so the schema already fully documents both parameters. The description explains what the setting's possible values mean (empty string, subcategories, both), but that is output semantics rather than additional input-parameter meaning. With the schema doing the heavy lifting, a baseline 3 is appropriate.

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 description states a specific verb and resource: "Reads a WooCommerce catalog display setting." It is clear what the tool does, but it does not explicitly distinguish itself from the sibling wc_update_catalog_display, so the sibling differentiation is left implicit.

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 description implies usage for retrieving a display setting and explains the meaning of returned values, but it gives no explicit when-to-use guidance or exclusions. It does not tell the agent when to choose this getter over the update sibling or other catalog-related tools.

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.