Skip to main content
Glama

Webform Handler List

webform_handler_list

List webform handlers attached to a Drupal webform to inspect their plugin configuration. Use it when handlers are not available as JSON:API entities.

Instructions

List the handlers attached to a webform.

Handlers are plugins configured on the webform, not entities, so there is no webform_handler resource for JSON:API to list. This reads them off the webform instead, which is where they live.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_limitNo
webform_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose a genuinely useful architectural fact (handlers are plugins read off the webform, not listable JSON:API entities), which explains why this tool exists. However it says nothing about permissions, pagination behavior, or the effect of a null webform_id, despite page_limit implying a paged result.

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?

Front-loaded with the core action in the first sentence, followed by a rationale sentence that earns its place by explaining the non-entity nature of handlers. No filler or repetition.

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?

An output schema exists, so return values need not be described, and a read-only listing is low-risk. Still, the two parameters are undocumented, and the ambiguity around an omitted webform_id and pagination leaves an agent guessing at call semantics.

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% for both parameters. The phrase 'attached to a webform' loosely implies webform_id, but page_limit is never mentioned and the nullable/default-null webform_id semantics (does it list handlers across all webforms?) are undefined. With low coverage the description needed to compensate and does not.

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 and resource: 'List the handlers attached to a webform.' It also explains what handlers are (plugins configured on the webform, not entities), which distinguishes this from a generic JSON:API resource list and from webform_list. It never names the closest siblings (webform_element_list, webform_handler_create), so it falls short of a 5.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no pointer to webform_handler_create/update/delete for the modification path. Usage is only inferable from the verb 'List'. The prerequisite question — what happens when webform_id is omitted — is left entirely unanswered.

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