Skip to main content
Glama

mojobase_undo

Destructive

Undo one change in the user's Activity (its id, from mojobase_activity), as Activity's Undo button does, recorded under your name. Only a change an AI made for the user at once, not on their Approve, not changed since, and only where undoing it is itself allowed at once (never a meeting with guests); otherwise it says why not, and the user can undo it in Activity. Calendar and Tasks changes, and an agent's change to someone's apps, for now.

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>",
      "author": "<author>"
    },
    "name": "mojobase_undo"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe change's id, as mojobase_activity gives it (calendar:12)
modelNoyour model id
authorYeswho's acting: your product, like claude or codex

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With destructiveHint=true and openWorldHint=true already declared, the description still adds substantial context: the change is recorded under the caller's name, the eligibility preconditions, the guest-meeting exclusion, and the current scope limit (Calendar and Tasks changes plus agent changes to someone's apps). It also discloses the failure mode of returning a reason rather than acting.

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

Conciseness4/5

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

Dense but every clause carries real constraint information; nothing is filler. However, the long comma-spliced run-on with stacked parentheticals makes the key eligibility rules harder to scan than a short bulleted breakdown would.

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?

No output schema exists, and the description covers the failure path (it says why not) and the scope boundaries of the destructive action. It doesn't describe the success response, and the "for now" scope note is vague, but for a single-undo mutation the picture is nearly complete.

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%, so all three parameters are already documented, including the id format example. The description only reinforces the id provenance (from mojobase_activity) and, via "recorded under your name," implicitly the author field; the model parameter gets no mention. Marginal value over the schema, so baseline 3.

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?

States a specific verb+resource ("Undo one change in the user's Activity") and ties it to the sibling mojobase_activity as the source of the id, plus the analogy "as Activity's Undo button does." It is clear what it does, though the purpose is buried mid-sentence among qualifiers rather than front-loaded.

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?

Explicitly enumerates the conditions under which it applies (a change an AI made at once, not on the user's Approve, not changed since, and only where undoing is itself permitted at once, never a meeting with guests) and gives the fallback when they fail: it reports why not and the user can undo in Activity.

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.