SayShape
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
SayShape draws interactive interfaces inside the chat from a short spec: charts, tables, dashboards, stat cards, forms, calculators, trackers and checklists. show_interface draws a spec. Its description has a map of SayShape, enough to write a report at once; sayshape_docs returns the guide for every capability and element a screen needs, in one call. An interface's theme and sizes come from the chat app, so a request to restyle one (dark mode, bigger text) doesn't change it.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| sayshape_docsA | Returns one SayShape guide for every capability and element you name together: the syntax, how they connect, and a short example. Ask once, for everything the screen needs, e.g. topics: ["forms", "calculations"], elements: ["slider"]. With nothing named, returns the map. |
| show_interfaceA | Draws an interactive interface from a spec, with the SayShape engine: suited to charts, tables, dashboards, stat cards, forms, calculators and trackers. This chat app can't show it in the conversation, so when the spec has nothing to fix the result gives a small web page that draws it, to publish or save for the person. Specs can't run code or choose colors. The result lists lines the parser skipped, with the docs for those elements, so you can fix them. HOW SAYSHAPE FITS TOGETHER (one element per line, children indented 2 spaces, no code)
CAPABILITIES (building blocks; name several together)
ELEMENTS (ask for one by name for its props and example)
For anything else, call sayshape_docs once with every capability and element the screen needs, such as topics: ["forms", "calculations"], elements: ["slider"], then write it. Other topics: expressions, rules, examples, chat. IN A CHAT: under 600px. Title, filters, a few KPIs in grid min=140, one main chart; no nested cards. Caption estimates.
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| SayShape interface | Draws a SayShape spec with the SayShape engine. |
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one retrieves documentation, the other renders an interface from a spec. There is no practical overlap, and the workflow between them is obvious.
Both names use snake_case, but sayshape_docs uses a server-prefix pattern while show_interface follows verb_noun. This is a minor inconsistency rather than a readability problem.
Two tools are well matched to the server's purpose: documentation lookup and interface rendering. Neither feels superfluous, and the small surface keeps the workflow focused.
The set covers the full lifecycle: retrieve relevant docs, then render and surface parser issues with documentation for fixing them. No obvious operation is missing for generating SayShape interfaces.