Skip to main content
Glama

mcp_bulk_get_options

Retrieves multiple WordPress options for a site in one request, returning false for missing options and masking secret-like values.

Instructions

Get multiple options at once. A missing option comes back as false. Secret-looking values are returned as "[masked]".

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": "<site>",
      "keys": "<keys>"
    },
    "name": "mcp_bulk_get_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
keysYesOption names (the server lowercases them)
siteYesSite id (see list_sites)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.14.0
    • changedInput schema / properties / keys / description
      Previous value: -"Array of option names"New value: +"Option names (the server lowercases them)"
  2. Changed2 schema fields changedv3.4.0
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Site id (see list_sites)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "keys"
      -]New value: +[
      +  "site",
      +  "keys"
      +]
  3. First observedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full load and does disclose two non-obvious behaviors: missing options return false (so absent and false-valued options are indistinguishable), and secret-looking values are masked as "[masked]" (so the true value cannot be recovered here). These are exactly the traps an agent would fall into otherwise; only the response shape and any error/limits behavior are left unstated.

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 short sentences, operation statement first, then the two behavioral caveats in descending importance. No filler, no restatement of the tool name or schema.

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?

With no output schema and no annotations, the description must explain the return values, and it covers the two most important cases (missing → false, secret → masked). It does not describe the overall response structure (e.g., a key→value map aligned to the requested keys) or ordering, which is a minor residual gap for a simple read 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%, including the note that the server lowercases keys, so the schema already fully documents both parameters. The description adds nothing parameter-specific beyond what the schema states, which is the baseline case.

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?

"Get multiple options at once" states a specific verb and resource, and the plural/bulk framing implicitly contrasts with single-option retrieval siblings like mcp_get_option. It stops short of naming the alternative, so the distinction is inferable rather than explicit.

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 by the word "multiple" — an agent can reasonably guess this is the batched form of an option getter. There is no explicit when-to-use rule, no statement about when a single get is preferable, and no prerequisite or batch-size guidance.

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