Skip to main content
Glama

Preview Website Widget

preview_website_widget
Read-onlyIdempotent

Read the saved managed website voice widget for this agent. Show its project, exact origins, session limits, status, embed snippet, readiness and revision before asking to publish. Does not publish or start a session.

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": {
      "id": "<id>"
    },
    "name": "preview_website_widget"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSaved agent ID in the authenticated project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds genuinely new context: it reads the *saved* configuration, discloses what information is surfaced (origins, session limits, readiness, revision), and explicitly rules out publishing or starting a session — the exact confusions an agent might have with a 'preview' verb.

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

Conciseness5/5

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

Two sentences, front-loaded with the action, followed by the concrete return contents and a scope exclusion. The field enumeration is dense but each item maps to something the agent must check before publishing, and there is no filler.

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?

With no output schema, listing the returned fields is important and is done well; scope and exclusions are also covered. The main residual gap is the failure case — what happens if no widget has been drafted/saved yet, which matters given the sibling draft_website_widget exists.

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?

There is a single parameter and schema description coverage is 100%, with the schema already stating 'Saved agent ID in the authenticated project.' The description adds only the phrase 'for this agent,' which restates the schema rather than extending it; baseline 3 applies when the schema carries the semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb ('Read') and a specific resource ('the saved managed website voice widget for this agent'), then enumerates the returned fields (project, origins, session limits, status, embed snippet, readiness, revision). The closing clause 'Does not publish or start a session' separates it from publish_website_widget and from any session-preview tool without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear usage context ('before asking to publish') plus a negative scope statement ('Does not publish or start a session'), so the agent knows this is a pre-publish inspection step. It stops short of explicitly naming the alternative tools (e.g., draft_website_widget for pre-save state), so routing relies on inference from the negation.

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.