Skip to main content
Glama

Get a term

get_term
Read-only

Fetch a WordPress taxonomy term by ID to get its description, parent, item count, and registered meta.

Instructions

Fetch one taxonomy term by ID, including its description, parent, item count and any registered term meta.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe term ID.
site_idNoWhich configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids.
taxonomyNoTaxonomy slug or REST base (category, post_tag/tags, or a custom one).category
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is known. The description adds behavioral context by enumerating the fields returned (description, parent, item count, term meta), which is useful beyond what annotations convey. It does not mention error behavior, but this is minor for a simple read.

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 compact sentence that front-loads the action and includes all key details without wasted words. It is appropriately concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only tool with all parameters documented and annotations covering safety, the description is complete. It specifies exactly what the agent can expect in the response (fields returned), and no critical information is missing 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 all parameters (id, site_id, taxonomy) are already documented in the schema. The description does not add any extra meaning or constraints beyond what the schema provides, so the baseline of 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 action ('Fetch one taxonomy term by ID') and lists the exact data returned (description, parent, item count, term meta). It clearly distinguishes from list_terms (which fetches many) and from get_content_terms (which fetches terms attached to content).

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 when you have a term ID, but it does not explicitly mention when not to use it or name any alternative tools. No exclusions or routing guidance is provided, though the purpose is clear enough to infer basic usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alokemajumder/wpxmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server