Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort the canvas server listens on (CLI option --port, default 4747)4747
NO_OPENNoDo not automatically open the canvas in a browser (CLI option --no-open)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
place_widgetA

Show something to the human on their mcp-screen canvas (a browser tab next to the terminal). Returns the widget id. Widget kinds and their data:

  • markdown {markdown}

  • text {text} (monospace log/output)

  • table {columns: string[], rows: cell[][]} (sortable; row clicks become the widget selection)

  • chart {type: "bar"|"line", labels: string[], values: number[], unit?, linkTo?: tableId} (bar clicks become the selection and filter the linked table)

  • metric {value, label?, delta?}

  • kv {items: {key: value}}

  • status-list {items: [{label, status: "ok"|"fail"|"pending"|"unknown", detail?}]}

  • diff {before, after, path?, language?} or {patch: "unified diff / git diff text"}, mode?: "split"|"unified" (syntax highlighted)

  • diagram {mermaid: "flowchart TD A[Start] --> B{Ok?} B -->|yes| C"} (Mermaid flowchart subset) or {direction?: "TD"|"LR", nodes: [{id, label, shape?}], edges: [{from, to, label?}]}

  • image {path: "/abs/file.png"} (local png/jpg/gif/webp/svg, served safely) or {url: "https://..."}; alt?, caption?

  • log {lines: string[], maxLines?} (terminal tail; update_widget {data:{append:["more lines"]}} appends; a live command/url source with parse:"text" tails it)

  • checklist {items: [{id?, label, status: "todo"|"doing"|"done"|"failed"|"skipped", detail?}]} (progress bar; update_widget {data:{set:{"": "done"}}} changes single items)

  • code {code, language?, filename?, startLine?, highlight?: lineNumbers[]} (syntax highlighted, copy button)

  • map {markers: [{lat, lon, label, value?, color?}], bounds?: [west, south, east, north]} (offline world map, no tiles)

  • timeline {items: [{at: ISO date or label, title, detail?, status?: "ok"|"fail"|"pending"|"info"}]}

  • livemap {root?, nodes: [{id, label, globs: string[], layer?, description?}], edges: [{from, to, label?}]} (architecture diagram; file edits matching a node's globs light it up live)

update_widgetA

Update an existing widget. data is shallow-merged into the current data by default (send only the keys you change, e.g. {edges} on a livemap); pass merge:false to replace it entirely. Shortcuts: log widgets take data.append (lines to add); checklist widgets take data.set ({"": "done"}). x/y move it on the canvas; changing w/h pushes covered widgets down.

read_widgetB

Read a widget back, including selection: what the human clicked (table row, chart bar) or what an MCP App reported, and annotations: arrows, circles, highlights and sticky notes the human drew on it, with text (their note) and target.dataPoints (e.g. the chart bar they circled). For livemaps, unmappedFiles lists edited files no node covers (time to update the map).

read_canvasA

List every widget on the canvas with its id, kind, title, live status, selection and position/size in pixels, plus every annotation the human drew (kind arrow|circle|highlight|note, text, replies, and target: the widget and data points it points at). pendingQuestions lists marks with a question you have not answered yet: answer each with reply_annotation. Check this when the human says "look at this" or "see my note".

remove_widgetB

Remove a widget (and stop its live refresh).

clear_canvasA

Remove every widget from the canvas (standup cards stay). The human can undo it from the canvas, or you can call clear_canvas with undo:true right after.

ask_userA

Ask the human a visual question: places clickable choice cards on the canvas and BLOCKS until they click one (or the timeout passes). Use it for decisions that are easier to make by looking: layouts, copy options, which bug to fix first. Returns {answered, choice:{id,label}} or {answered:false, reason}.

ask_formA

Ask the human to fill in a small form on the canvas and BLOCK until they press Submit (or the timeout passes). Field types: text, textarea, number, slider (needs min/max), select (needs options), checkbox. Returns {submitted:true, values:{fieldId: value}} or {submitted:false, reason}. Values are checked against the fields (required, min/max, options) before you get them.

tidy_canvasA

Re-pack every widget on the canvas into a neat grid (same as the Tidy up button). Returns the new positions.

list_canvasesA

List named canvases (one per project). The default name is the git root folder. Switch with open_canvas; place_widget takes an optional canvas argument.

open_canvasA

Switch the browser to a named canvas (creates it if needed). Pass the project name or an id from list_canvases.

reply_annotationA

Answer a question the human left on the canvas (a circle, arrow, highlight or sticky note with text). Your reply appears in a thread bubble next to their mark. read_canvas lists unanswered ones under pendingQuestions, with the widget and data points they point at; answer about exactly that. A human follow-up in the thread makes it pending again.

reply_oldest_pendingA

One-click: answer the oldest unanswered note on the canvas (see read_canvas → pendingQuestions). Use when the human said "answer my notes" or a hook told you notes are waiting and you can answer the first one now. Optional canvas limits to that project.

post_reportB

Post a standup card when you finish a task: what you changed, test results, a short summary and risks. Cards are grouped by worktree and agent on the Standup board.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 14 tools

Disambiguation4/5

Most tools target clearly different objects or actions: widget CRUD, canvas management, annotations, and blocking human questions are separated well. A couple of pairs are close (read_canvas vs read_widget, reply_annotation vs reply_oldest_pending), but the descriptions make their scope distinction clear.

Naming Consistency5/5

All tool names use consistent snake_case and mostly follow a verb_noun or verb_phrase pattern (place_widget, update_widget, read_canvas, reply_annotation). There is no mixing of camelCase or vague standalone verbs.

Tool Count5/5

14 tools is well within the expected range for a canvas interaction server and each tool covers a distinct part of the workflow: canvas selection, widget display/editing, human input, annotation replies, and reporting. No obvious padding tools.

Completeness4/5

The surface covers core widget lifecycle operations (place, update, read, remove, clear, tidy), canvas switching, annotation reading/replying, and blocking human input. Minor gaps remain around full canvas lifecycle management, such as deleting or renaming named canvases.

Maintenance

ActivityMaintained
ResponsivenessOutdated data