Skip to main content
Glama

Create saved views

create_views

Atomically create saved views for one views Page; text Pages cannot have Views. A views Page that gains its first sub-page also gains a Sub-pages list View unless one of its Views already filters by it as parent. A generated layout, which people call an App View, renders interactive HTML from presentation.code, under the contract in that field's description. A page layout shows one text Page, presentation.pageId, as a tab, such as an overview beside the other Views.

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": {
      "workspaceId": "<workspaceId>",
      "pageId": "<pageId>",
      "views": "<views>"
    },
    "name": "create_views"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewsYes
pageIdYes
workspaceIdYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description's job is to add mechanism, which it does: 'Atomically' discloses all-or-nothing semantics, and the auto-created Sub-pages list View is a non-obvious side effect an agent would not otherwise predict. It omits batch-size limits and what happens on partial/duplicate names, keeping it short of a 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?

Four sentences, front-loaded with the atomic-create statement and the text-Page exclusion, so the highest-value constraints come first. Minor waste in phrasing like 'which people call an App View', but nothing is filler and no sentence repeats the schema verbatim.

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?

Return values are covered by the output schema and the layout distinction is explained, so the core conceptual gap is closed. What remains missing for a mutation tool of this complexity is limits (100 views, code length trumps nothing) and any statement of failure modes or permission requirements; the description leans on 'that field's description' for the largest parameter.

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?

Top-level coverage is reported at 0%, so the description carries more burden, but the schema's nested descriptions are already extensive for views, sort, query, and presentation. The description adds conceptual meaning for presentation.code (generated/App View) and presentation.pageId (a tab showing one text Page), yet says nothing about workspaceId or pageId themselves and nothing about the views array's name/sort/query fields, deferring to a field description elsewhere.

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 opening clause pairs a specific verb and resource ('Atomically create saved views') with a scope constraint ('for one views Page'), and 'text Pages cannot have Views' rules out an invalid target. It never names a sibling, so an agent must infer from names like patch_views/delete_views which operation applies when, but the create semantics are unambiguous.

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 implied through constraints: you must target a views Page, not a text Page, and the piece about the first sub-page gaining a Sub-pages list View tells the agent an extra View may appear automatically. There is no explicit statement of when to prefer this over patch_views or delete_views, and no mention of prerequisites such as workspace permissions.

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