Skip to main content
Glama

SayShape docs

sayshape_docs
Read-only

Returns SayShape syntax, connections, and examples for named capabilities and elements in one request, so you can plan everything a screen needs; with no names, it returns the map.

Instructions

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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sayshape_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicsNoCapabilities: lists, calculations, forms, actions, layout, content, data, navigation, feedback, full. Also: expressions, rules, examples, chat.
elementsNoElement names, e.g. ["slider", "table"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.2

TDQS

A3.8/5.0
Behavior3/5

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

The readOnlyHint/openWorldHint annotations already establish this as a safe, closed-domain read, so the description only needs to add context. It does add the return shape (one guide per item, containing syntax, relationships, and a short example) plus the empty-input fallback. It does not clarify what "the map" actually contains, which leaves the default response underspecified.

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?

Three sentences, front-loaded with the return contract, followed by usage guidance and then the default behavior. The inline example earns its space because it demonstrates the two-list combination without needing the schema opened.

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 and no required parameters, the description carries the burden of explaining returns and the zero-argument case, and it does both. The remaining gap is the vague reference to "the map" and the absence of any cost or volume cue for requesting up to 12 topics plus 12 elements at once.

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% and the schema already enumerates the valid topic values and describes elements as element names, so the baseline is 3. The description adds that topics and elements are combined ("every capability and element you name together") and shows a working example, but does not explain ordering, deduplication, or how the two lists interact when results overlap.

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 names a specific verb and resource: it returns one SayShape guide per named capability/element, covering syntax, connections, and an example. That is far more informative than the title. It does not, however, contrast itself with the sibling show_interface, so an agent must infer that this is the documentation source rather than the UI renderer.

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?

"Ask once, for everything the screen needs" gives clear batching guidance, and "with nothing named, returns the map" states the no-argument behavior, which matters since zero parameters are required. There is no explicit when-not or routing note pointing at show_interface, so the guidance stops short of full alternative coverage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools