Skip to main content
Glama

Frontman for WordPress

wc_maint_verify_db_tables

Destructive

Verify WooCommerce base database tables and attempt to recreate missing tables. Ask the user for confirmation before calling with confirm=true.

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>",
      "confirm": "<confirm>"
    },
    "name": "wc_maint_verify_db_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be true only after explicit user confirmation.
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

A4/5.0
Behavior4/5

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

The annotations already flag destructiveHint=true, readOnlyHint=false and idempotentHint=false. The description adds real context beyond that: the tool will attempt to recreate missing tables, and confirm=true must not be sent without explicit user approval. It still does not say whether recreated tables lose data, what happens to existing tables, or what the result looks like.

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?

Two short sentences with no filler. The core action comes first and the confirmation prerequisite follows, so an agent can act on it immediately.

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 destructive maintenance tool with annotations and no output schema, the definition covers the action, the risk and the required user-approval gate. The remaining gap is what the verification reports and whether recreation risks data, which an agent might want before proceeding.

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%, and the schema already documents both site_id (from list_sites, not a URL or post ID) and confirm (true only after user confirmation). The description restates the confirmation rule for confirm but adds no format or edge-case detail beyond the schema, so the baseline of 3 applies.

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 gives a specific verb and resource: it verifies WooCommerce base database tables and attempts to recreate any that are missing. That is clearly distinct from the other maintenance siblings, which target caches, sessions, indexes and roles, but it does not name any sibling or state the boundary explicitly.

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 gives one explicit operational rule: ask the user for confirmation before calling with confirm=true. It does not say when verification is warranted (for example, after a migration or when tables are reported missing) or when a different maintenance tool should be preferred, so the context is clear but the exclusions are absent.

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.