Skip to main content
Glama

Update a panel tab

panel_update
Destructive

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. Changes fields of an open tab (a new title, more search hits, the calendar's highlight); its kind never changes. On a story, chapter adds the next chapter or replaces the one with its id in place, so the page grows without resending it. An id not on the panel changes nothing. 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": {
      "id": "<id>"
    },
    "name": "panel_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe tab's id (panel_open returned it; panel_watch lists them).
focusNoAlso bring it to the front.
patchNoThe fields to replace, as panel_open takes them, e.g. {"title": "Next week", "highlight": ["p1"]}. Give patch, chapter or both.
chapterNostory: one chapter, {id, kind, title, note?, ...its fields} as in panel_open's chapters; the same id replaces it in place.
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
textYes
panelYes
conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / chapter
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "story: one chapter, {id, kind, title, note?, ...its fields} as in panel_open's chapters; the same id replaces it in place.",
      +  "type": "object"
      +}
    • changedInput schema / properties / patch / description
      Previous value: -"The fields to replace, as panel_open takes them, e.g. {\"title\": \"Next week\", \"highlight\": [\"p1\"]}."New value: +"The fields to replace, as panel_open takes them, e.g. {\"title\": \"Next week\", \"highlight\": [\"p1\"]}. Give patch, chapter or both."
    • changedInput schema / required
      Previous value: -[
      -  "id",
      -  "patch"
      -]New value: +[
      +  "id"
      +]
  2. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=false, so safety framing is covered. The description does add real value beyond them: partial-update semantics ('Changes fields ... its kind never changes'), a no-op guarantee for unknown ids, in-place chapter replacement ('the page grows without resending it'), and the write-scope requirement. It does not clarify whether an empty patch clears fields or whether replacement is merge-vs-overwrite, which is exactly the destructive behavior an agent needs to know.

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

Conciseness2/5

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

The definition is back-loaded: three sentences describe the product surface, the rollout status of a page, and cross-client sharing before the tool's actual action appears. Details like 'shapelessai.com/studio' and 'the founder's account today (it is being rolled out)' do no work for tool selection and crowd out the operation-specific content.

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 exists and schema coverage is 100%, so return shapes need not be explained. Combined with annotations, the description supplies what structured data cannot: scope requirement, no-op behavior for stale ids, and chapter growth semantics. The only meaningful gap is merge-versus-replace ambiguity for patch fields.

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 every parameter, including the conversation_id default, is already described in the schema. The description echoes the patch/chapter semantics ('Give patch, chapter or both', 'the same id replaces it in place') and adds only the id no-op rule, so it clears the baseline without materially extending parameter meaning.

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 operative sentence — 'Changes fields of an open tab (a new title, more search hits, the calendar's highlight); its kind never changes' — gives a specific verb, resource and concrete examples, and the kind-immutability clause separates it from a create tool. However, it is buried behind three sentences of scene-setting about what 'the panel' is, so the agent must read past conceptual context to find the action.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the tool applies to an already-open tab, and 'Needs the write scope' plus 'An id not on the panel changes nothing' hints at preconditions. There is no explicit when-to-use versus panel_open (to add a tab) or panel_close (to remove one); sibling names appear only as references for the shape of patch/chapters, not as alternatives to choose between.

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.