Skip to main content
Glama

Update activity

update_activity
DestructiveIdempotent

Rename an activity or change its description or time-spending preference.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
activityIdNoActivity id from list_activities
descriptionNo
activityNameNoActivity name, when the id is not known. Case-insensitive; prefix matches work.
timeSpendingPreferenceNoWhether the user wants to spend more or less time on this activity

Output Schema

NameRequiredDescriptionDefault
activityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare non-readonly, idempotent, and destructiveHint=true, so the safety bar is lower; however, the description adds nothing beyond restating the schema field names. It does not explain partial-update semantics (are omitted fields left untouched?), whether rename replaces or merges, or why a rename-style operation is flagged destructive, leaving an unexplained gap between the description's benign framing and the destructive annotation.

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?

A single front-loaded sentence with no filler; every word earns its place. It is efficient but so terse that the restraint reads as under-specification rather than discipline.

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

Completeness2/5

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

With five optional parameters, a destructive annotation, and an output schema, the description is too thin: it omits how the target is resolved, that updates appear to be partial, and what the destructive flag implies. An agent could invoke it but not predict its effects confidently.

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?

With 60% schema description coverage, the baseline is 3. The description lists the mutable attributes in prose but adds no syntax or resolution detail beyond the schema, which already documents activityId/activityName resolution and the timeSpendingPreference enum.

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 description names a specific verb (rename/change) and resource (activity) and enumerates the three mutable attributes, so the agent knows exactly what is modified. It stops short of distinguishing this from adjacent tools such as create_activity or update_goal, but the resource boundary is unambiguous.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus update_goal, create_activity, or log_time_entry, and no guidance on identification (activityId vs activityName) or what happens when neither is supplied. Usage is only inferable from the verb.

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