Skip to main content
Glama

get_entry

Get a single entry by id. Returns MDX with reference/media fields resolved inline. Each richText field's body section starts with <!-- field: <key> --> — update only that section's text under its key, never the marker. Frontmatter entryLinks maps each <EntryLink id="..."> id found in richText fields to its target's { id, templateId, title, status }. Frontmatter localizations lists the entry's other locales as { id, locale, status } — fetch one by id to read its content. Pass locale to get the entry's translation in that locale instead (exact, else same language in another region, else the org's default locale, else the entry itself) — check the returned frontmatter locale

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": {
      "id": "<id>"
    },
    "name": "get_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
envIdNoEnvironment the content lives in — defaults to the org's production environment
localeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does substantial work: it discloses the return shape (MDX with references resolved), the `<!-- field: <key> -->` markers and the instruction never to alter them, the `entryLinks` and `localizations` frontmatter structures, and the exact locale fallback chain. It stops short of covering error/not-found behavior, permissions, or whether the call is read-only, which keeps it below 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is front-loaded with purpose and then layers return-format detail in a logical order (body markers, entryLinks, localizations, locale). It is dense but nearly every clause conveys operational detail. The final sentence is awkwardly truncated and lacks terminal punctuation, a minor polish issue rather than bloat.

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, so the description must explain the return value, and it does so thoroughly down to frontmatter field shapes. Missing pieces are relatively minor for a read tool: behavior when the id doesn't exist, whether auth or environment access is required, and any mention of size or payload limits.

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

Parameters4/5

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

Schema coverage is only 33%, so the description must compensate, and it does for the most important case: `locale` gets a precise four-step fallback explanation (exact match, same language other region, org default, the entry itself) plus a warning to verify the returned frontmatter `locale`. `id` is self-evident from 'by id', while `envId` is left entirely to the schema, which already documents it.

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 opens with a specific verb and resource: 'Get a single entry by id.' It immediately clarifies that the return is MDX with reference/media fields resolved, which tells the agent this is not a raw fetch. It doesn't explicitly contrast itself with siblings like list_entries or get_template, so it lands at 4 rather than 5.

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 guidance is present but indirect: 'fetch one by id to read its content' tells the agent how to follow localizations, and the locale paragraph states when to pass `locale`. There is no explicit statement of when to call get_entry versus get_template or list_entries, nor any exclusion or prerequisite, so the guidance is implied rather than stated.

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