Skip to main content
Glama

Update a room app

huddo_app_submit
Destructive

Change the shared state of a room app with JSON Patch ops. Each op has op (add | remove | replace | test) and path (a JSON Pointer like /tasks/T3/status). All ops apply, or none. Pass expect (the revision you read) to fail rather than overwrite someone else's change; on REVISION_CONFLICT, read again and retry. Members see the change immediately, but nothing goes to the chat. Use huddo_send to tell people.

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": {
      "app": "<app>",
      "ops": "<ops>"
    },
    "name": "huddo_app_submit"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesApp id from huddo_app_list
opsYesJSON Patch operations, for example [{"op":"replace","path":"/tasks/T3/status","value":"DONE"}]
roomNoroomId or index from huddo_list, for this call only (default: the default room)
expectNoRevision the change is based on (from huddo_app_state)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description adds genuinely new behavior: all ops apply atomically or none, optimistic concurrency via expect, a named failure mode (REVISION_CONFLICT), and the fact that members see the change immediately while nothing is posted to chat. That visibility-versus-notification distinction is exactly the kind of trait annotations cannot express.

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?

Four tight sentences, front-loaded with the mechanism, then the atomicity guarantee, then the concurrency contract, then the social consequence. Every sentence carries distinct information with no restatement of the title or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive 4-parameter mutation with no output schema, the definition covers the atomicity guarantee, the conflict/retry path, the visibility side effect, and where to go for notification. Nothing an agent needs in order to call this safely is missing.

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 above that by explaining what expect actually means operationally (the revision you read) and the retry protocol on conflict. It also restates the op and path semantics (JSON Pointer form) in prose, though the schema example already demonstrates that.

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?

The description states a specific verb and resource ("Change the shared state of a room app") and immediately constrains the mechanism (JSON Patch ops), so an agent knows precisely what operation this performs. It also names a sibling (huddo_send) for the out-of-band notification case, distinguishing this tool from a messaging tool.

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?

It gives concrete conditional guidance: pass expect to avoid clobbering a concurrent change, and on REVISION_CONFLICT read again and retry; use huddo_send to notify people. It does not explicitly say when this tool is the wrong choice versus huddo_app_state or huddo_app_code, so it falls just short of full when/when-not routing.

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.