Skip to main content
Glama

Metatag Jsonld Generate

metatag_jsonld_generate

Generate JSON-LD structured data for a Drupal entity to improve search engine understanding. Provide entity type, ID, and optional schema type to output valid schema markup.

Instructions

Generate JSON-LD structured data for entity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entity_idYes
entity_typeYes
schema_typeNoArticle

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says nothing about whether JSON-LD is generated and returned versus persisted, what permissions are required, or whether entity_id must reference an existing entity. 'Generate' implies output, but the description never confirms it is non-mutating.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though the extreme brevity borders on under-specification rather than deliberate conciseness.

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

Completeness2/5

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

An output schema exists, so return values need not be explained. However, with no annotations, 0% param coverage, and non-trivial Drupal entity semantics, the description omits what an agent needs: valid entity types, the meaning of schema_type, and whether the operation mutates state.

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?

Schema description coverage is 0%: entity_id, entity_type, and schema_type (default 'Article') have no descriptions. The description only echoes 'entity', vaguely hinting at entity_type/entity_id, and says nothing about valid entity_type values or what schema_type controls. It fails to compensate for the coverage gap.

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?

States a specific verb+resource: 'Generate JSON-LD structured data', with scope 'for entity'. This is clear and distinguishable from metatag_config_* and metatag_canonical_set siblings, but 'entity' is left unspecified (node? term? user?) and no sibling is named to sharpen the distinction.

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?

No when-to-use guidance, no prerequisites, and no alternatives referenced. An agent cannot tell from the description whether this is a read-only generation step or a write-back operation, nor when to prefer it over jsonapi_schema_get or graphql_schema_get.

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

Deploy Server

Other Tools