Skip to main content
Glama

Views Create

views_create

Create a new Drupal view with configurable fields, filters, sorting, displays, and page settings.

Instructions

Create a new view.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowNo
pageNo
sortNo
emptyNo
labelYes
pagerNo
queryNo
styleNo
fieldsNo
filterNo
footerNo
headerNo
displayNo
view_idYes
argumentsNo
base_fieldNonid
base_tableNonode
descriptionNo
relationshipsNo
contextual_filtersNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It says nothing about permissions required, side effects, whether existing views are overwritten, or what the tool returns. For a mutation tool accepting 20 parameters, this is a severe gap.

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

Conciseness2/5

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

The single sentence is terse and front-loaded, but it is under-specified for a tool with 20 parameters. Conciseness here reflects missing information rather than efficient communication.

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

Completeness1/5

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

For a complex creation tool with 20 parameters, no annotations, and 0% schema coverage, the description is entirely inadequate. The existence of an output schema does not excuse the absence of input usage guidance and behavioral context.

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

Parameters1/5

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

Schema description coverage is 0% and the description adds no parameter meaning at all. With 20 parameters (including required view_id and label, plus many optional structural fields), the description fails to compensate for the schema's lack of documentation.

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: 'Create a new view.' Clear what the tool does, distinguishable from siblings by name. However, it offers no differentiation from related views_* tools beyond the name itself.

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 when-to-use guidance, no prerequisites, and no alternatives. An agent must infer entirely from the name and schema that this is the creation counterpart to views_get, views_update, etc.

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