Skip to main content
Glama

Get Ability Info

wp_get_ability_info
Read-only

Get detailed information about a specific WordPress Ability, including its full input/output schema and annotations. Use this before running an ability to understand its parameters and whether it is read-only, destructive, or idempotent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
abilityYesThe ability name (e.g. "my-plugin/site-info")
site_idNoSite ID to target (optional if you have only one connected site)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ability / description
      Previous value: -"The ability name/slug to get details for"New value: +"The ability name (e.g. \"my-plugin/site-info\")"
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, covering the safety profile. The description adds the return content (target's schema and safety flags), but discloses nothing about the target ability's own operational traits beyond what annotations on this tool convey. Adequate but not rich.

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 sentences, front-loaded with purpose and followed by the usage directive. No filler or repetition, and every sentence earns its place.

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?

There is no output schema, and the description compensates by describing what is returned (full input/output schema and annotations), which is the key thing an agent needs. Usage context is also given, leaving little missing for a two-parameter 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 description coverage is 100%, so both parameters (ability, site_id) are already documented in the schema. The description adds no syntax, format, or naming guidance beyond what the schema provides, so the baseline 3 applies.

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 states a specific verb and resource ("get detailed information about a specific WordPress Ability") and enumerates what is returned (full input/output schema and annotations). The concept of a single 'Ability' is distinct from sibling list/discovery tools like wp_discover_abilities, so an agent can tell them apart without opening schemas.

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?

It gives explicit when-to-use guidance: "Use this before running an ability to understand its parameters and whether it is read-only, destructive, or idempotent." This establishes a clear workflow role. It does not name the discovery sibling or state exclusions, so it stops short of a full 5.

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.

Resources