Skip to main content
Glama

Get Content Item

get_content

Fetch a single content item by type and id, walking the content chain (WordPress -> cache). Returns the item with its source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesSource content id (WordPress post id)
typeYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does reveal the cache chain traversal and the inclusion of a `source` field in the return. However, it does not address error behavior (e.g., what happens if the item is not found), authentication needs, or idempotency. For a read operation, the absence of error clarity is a notable gap.

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?

The description is extremely concise, consisting of only two short sentences. The first sentence front-loads the action (Fetch a single content item) and key parameters, while the second adds the return behavior. Every phrase earns its place with no redundancy or filler.

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

Completeness3/5

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

Given the simplicity of the tool (two parameters, single-item fetch) and the absence of an output schema, the description covers core functionality and adds useful context about the cache chain and return field. However, it does not explain error states, the relationship to sibling tools that may appear to overlap, or the full return shape. It is adequate but not fully comprehensive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema provides a description for the `id` parameter but not for `type`. The description mentions both parameters without adding detail about the `type` enum values or constraints. With schema description coverage at 50%, the description should compensate for the missing schema descriptions but does not sufficiently elaborate on parameter semantics beyond what is already present.

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 clearly states the tool fetches a single content item by type and id, with specific behavior of walking the content chain (WordPress -> cache). However, it does not differentiate from sibling tools like get_destination or get_itinerary, which likely serve similar purposes for specific types, potentially causing confusion about when to use this generic getter.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus the similar sibling tools get_destination, get_itinerary, or search_content. It also fails to mention any prerequisites, context, or conditions under which this tool should be chosen over alternatives. This leaves the agent without decision-making support.

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