Skip to main content
Glama

Get resource

drupal_get_resource
Read-only

Get a single resource by UUID for an entity_type/bundle, with optional includes. JSON:API: GET /jsonapi/{entity_type}/{bundle}/{uuid}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesThe entity UUID (JSON:API uses the UUID, never the numeric id).
bundleYesThe bundle machine name, e.g. "article", "tags", "user".
includeNoComma-separated relationship paths to include, e.g. uid,field_tags (→ query param include).
entity_typeYesThe entity type machine name, e.g. "node", "taxonomy_term", "user".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds useful invocation context by surfacing the underlying GET endpoint, but says nothing about error behavior (e.g., 404 on unknown UUID) or response shape. This is acceptable but not rich context beyond the annotations.

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, zero filler, with the core operation stated first and the endpoint mapping as a compact trailing clarification. Every clause 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?

For a read-only single-fetch whose annotations cover safety and whose schema fully documents all four parameters, the description is close to complete. It could add one line on what the JSON:API response contains or how errors surface, but no output schema exists to do that work either, so this is a minor gap.

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 the baseline is 3 and each parameter already documents itself, including the UUID-vs-numeric-id and include-path details. The description restates entity_type/bundle/uuid and the optional includes without adding syntax or constraints beyond the schema.

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 names a specific verb and resource ('Get a single resource by UUID') and scopes it by entity_type/bundle, which inherently distinguishes it from the plural siblings drupal_list_resources and drupal_search_content. The appended JSON:API path maps the abstract operation onto a concrete endpoint, leaving no ambiguity about what is retrieved.

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 'single resource by UUID' framing; the description never states when to prefer this over drupal_search_content or drupal_list_resources, nor any prerequisite such as needing a known UUID first. Adequate but with a clear gap in routing guidance.

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.