Skip to main content
Glama

Show a view of the preview

show_preview
Idempotent

Show a draft's view to the person in the conversation, on the preview.

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": {
      "app": "<app>",
      "view": "<view>"
    },
    "name": "show_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app, as list_apps names it, such as sam/budget.
roleNoThe role to act as, one the person holds. Leave it out when they hold one.
viewYesA view's name.
argumentsNoIts arguments, as an object.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare idempotent=true, destructiveHint=false, and notably readOnlyHint=false, yet the description never reconciles that: 'show' sounds passive, so an agent cannot tell whether this alters the preview session state. It also does not say whether the shown preview replaces a prior one, whether it blocks on the person's interaction, or what the agent should do next.

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

Conciseness3/5

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

It is a single short sentence with no wasted words, but the phrase 'on the preview' trails awkwardly and the sentence is terse to the point of ambiguity rather than efficiently informative.

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 tool that renders UI to a human inside a conversation and is annotated as non-read-only, the description omits nearly everything an agent needs: what the person actually sees, whether the call waits or returns immediately, and how it relates to the draft lifecycle. With no output schema, the description had to carry this and does not.

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?

Schema coverage is 100%, so the schema itself explains app, role, view, and arguments, and the description adds no parameter meaning beyond it. Baseline 3 applies when structured fields carry the full burden.

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

Purpose3/5

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

The description gives a verb ('show') and a resource ('a draft's view'), and adds that it is surfaced 'to the person in the conversation, on the preview'. That is a recognizable but hazy purpose — 'view' and 'preview' are doing double duty, and nothing distinguishes it from the sibling show_app_view, which an agent must choose between.

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 named alternative, despite siblings such as show_app_view, try_view, and start_preview/stop_preview covering adjacent ground. The conversational context is implied only by the phrase 'to the person in the conversation'.

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