Skip to main content
Glama
catalog-mcp

catalog-mcp

by msalihk

Explain an audit rule

explain_rule
Read-only

Explains why a product catalog rule matters to Google Shopping or Meta and how to fix flagged products.

Instructions

Returns why a rule matters to Google Shopping / Meta and how to fix products it flags.

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": {
      "ruleId": "<ruleId>"
    },
    "name": "explain_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description usefully clarifies that the payload is explanatory (rationale + fix guidance) rather than raw rule data, but it says nothing about behavior for an unrecognized ruleId or whether the content is static documentation versus live evaluation.

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?

One front-loaded sentence that names the return content and its two components with zero filler; nothing is repeated from the schema or annotations.

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 one-parameter, read-only lookup with a fixed enum and no output schema, telling the agent what comes back (rationale plus remediation) covers the essentials. Only minor gaps remain around error behavior for invalid ids and output shape.

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?

The single ruleId parameter is fully enumerated in the schema, so allowed values are self-documenting, but schema description coverage is 0%. The description adds only that rules are channel-scoped (Google Shopping / Meta), which gives mild meaning to the enum without explaining any individual rule id.

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?

States a specific verb ('Returns') and a clearly bounded deliverable: the rationale for a rule plus remediation guidance for flagged products. It is plainly distinct from the sibling audit tools, though the description never explicitly says so.

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?

Usage is only implied: an agent can infer it should call this after an audit flags a product, but there is no explicit when-to-use statement, no mention of the siblings it complements, and no note on prerequisites or ordering relative to audit_products/audit_store.

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

Deploy Server

Other Tools