Skip to main content
Glama

Save view

generate_view
Destructive

Save a view the user wants to keep: a page in the view language that renders with live data, like a dashboard, a Markdown document, a feed of posts or a page of generated emails and images. Takes the source, the spec_version it was written against, an optional title and optional state. saved_template_id starts from a view template saved earlier; anything you pass replaces its value. Views are free: no watermark and nothing to unlock. Returns the artifact_id.

Input Schema

NameRequiredDescriptionDefault
stateNoThe view's saved state values, keyed by name.
titleNoA short name the user would recognise.
sourceNoThe whole view in the view language, one statement per line.
spec_versionNoThe view library version the source was written against.
saved_template_idNoA saved_template_id from list_templates; its inputs seed the ones you pass.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

The annotations declare readOnlyHint=false and destructiveHint=true, so the agent already knows this is a mutation with destructive potential. The description adds useful behavior around saved_template_id seeding and replacement, plus the return value artifact_id, but it does not explain the scope of destructive effects or what may be overwritten.

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?

The description is front-loaded with the core purpose and remains reasonably compact despite the long first sentence. “Views are free: no watermark and nothing to unlock” is product context that does not help an agent decide or invoke the tool, keeping it from a 5.

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 five-parameter tool with 100% schema coverage and no output schema, the description covers purpose, inputs, template-seeding behavior, and the returned artifact_id. The main remaining gaps are explicit routing against related tools and a fuller warning about the destructiveHint=true behavior.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents all five parameters, establishing a baseline of 3. The description adds meaning beyond the schema by explaining that source is the whole view in the view language, spec_version is the library version, title/state are optional, and saved_template_id seeds values while passed values replace them.

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 description states a clear verb and resource: save a view in the view language that renders with live data, with concrete examples like dashboard, Markdown document, feed, and generated emails/images. It is clearly a save/create-view operation, but it does not explicitly distinguish itself from sibling tools such as update_view or show_view.

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 “Save a view the user wants to keep” and by noting that saved_template_id comes from a template saved earlier. It does not state when to use this versus update_view, show_view, list_templates, or save_as_template, nor does it give explicit prerequisites.

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.