Skip to main content
Glama

Ask the person to pick an option

panel_ask
Destructive

Asks the person a question they answer with one press: two or more options (a hook, a thumbnail, a time slot), shown on the panel; with wait_seconds it waits for the press. The panel is the document beside the chat on the ShapelessAI Ask page (shapelessai.com/studio): tabs the person looks at while you talk, and the place they answer a question with a press or edit a plan's node by hand. The browser, the chat's own agent and you (from a terminal) share one panel per conversation. The page draws it for the founder's account today (it is being rolled out); every account holds and can read its panel through these tools and the API. Returns {conversation_id, id, picked: {optionId, label, at} | null, panel_rev}; null means not answered yet, so call panel_watch with after_rev to keep waiting. Asking again with the same id replaces the question and clears its answer. Needs the write scope.

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": {
      "title": "<title>",
      "question": "<question>",
      "options": "<options>"
    },
    "name": "panel_ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoStable id for this question. Omit it and one is made from the title.
titleYesA short name for the tab.
optionsYesTwo or more options; media shows an image or a video on the option.
questionYesWhat the person decides, in one line.
wait_secondsNoSeconds to wait, 25 at most. Call again to keep waiting.
conversation_idNoThe conversation (job) id whose panel to use. Omit it to use the conversation the person opened last in the browser, which is the one they are most likely looking at.

Output Schema

NameRequiredDescriptionDefault
idYes
pickedYes
panel_revYes
conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, so the replacement semantics are partly signposted, but the description adds real value by spelling out that reusing an id clears the prior answer and that the write scope is required. It also explains the shared-panel model and the rollout caveat (page draws the panel for the founder's account; every account can still read it via the API). Return shape is covered by the output schema, so no credit there.

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?

Purpose is front-loaded in the first sentence, but the middle sentences about the panel, tabs, the browser/agent/terminal sharing one panel, and the rollout status are lengthy infrastructure context that dilutes the operative instructions. They are relevant background, yet several clauses could be compressed.

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?

An output schema and full parameter coverage exist, and the description still supplies the async follow-up path (panel_watch) and mutation semantics an agent needs. The only shortfall is that the panel/rollout exposition is bulkier than the practical guidance requires.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by explaining the consequence of the `id` choice (replacement and answer clearing) and what `wait_seconds` actually does behaviorally (waits for the press). `conversation_id`'s default is repeated from the schema rather than extended.

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?

Opens with a specific verb and resource plus concrete examples of what the options look like ("a hook, a thumbnail, a time slot") and where they render ("shown on the panel"). It is clearly distinguishable from panel_watch and panel_close without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit routing: a null pick means unanswered, "so call panel_watch with after_rev to keep waiting," and reusing an id replaces the question and clears the answer. It also states the write-scope prerequisite, so preconditions are covered.

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.