Skip to main content
Glama

Octolane

update_activity

DestructiveIdempotent

Edit a previously manually-logged activity (title, description, participants, occurred_at, metadata). Auto-synced activities - Gmail emails, calendar meetings, etc. - cannot be edited and will return a permission error. Get activity_id from a prior activity search/timeline result.

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": {
      "activity_id": "<activity_id>"
    },
    "name": "update_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoNew short summary.
metadataNoReplacement metadata blob.
session_idNoThe ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task.
activity_idYesUUID of the activity to update. Get from a prior activity/timeline result.
descriptionNoReplacement long-form notes.
occurred_atNoISO 8601 timestamp of when the activity happened.
participantsNoReplacement participant emails. Replaces the existing list entirely.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered; the description adds real value by disclosing the hard failure mode for auto-synced records and the ID precondition. However, it never states whether fields omitted from the call are preserved or cleared — the single most important semantic for a destructive update — and does not explain why the operation is marked destructive.

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 core action, then the eligibility constraint, then the ID sourcing hint. No redundant restatement of the tool name or annotations, and every sentence carries actionable information.

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?

For a 7-parameter mutation tool with no output schema, the description covers eligibility, failure behavior, ID sourcing and the editable surface, which is most of what an agent needs. The gap is update semantics — whether unspecified fields are left intact or overwritten — which matters given destructiveHint=true and nested object replacement behavior.

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 description coverage is 100%, so every parameter including the participants/metadata replacement semantics is already documented in structured data. The description only echoes the field list without adding format or partial-vs-full update semantics beyond the schema, so the baseline of 3 applies.

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?

Names a specific verb (Edit) plus the resource (a previously manually-logged activity) and enumerates the editable fields, so the agent can distinguish this from log_activity (creation) and from update_calendar_event/update_note style siblings. The scope restriction to manually-logged activities is stated up front.

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?

Provides explicit when-to-use (manually-logged activities), an explicit when-not plus the outcome (auto-synced Gmail/calendar activities cannot be edited and return a permission error), and the prerequisite for obtaining activity_id from a prior search/timeline result. This is the full when/when-not/precondition set.

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.

Resources