Skip to main content
Glama

project_task_upsert

Create or update a task in the shared encrypted project memory, preserving revisions and AI provenance. Status: todo, in_progress, blocked or done. For existing tasks provide expected_revision_id from project_context_get. Other same-account AIs can continue with the latest task state through the existing memory sync.

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": {
      "project": "<project>",
      "task_id": "<task_id>"
    },
    "name": "project_task_upsert"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
titleNo
sourceNoother
statusNo
projectYes
task_idYes
device_idNo
expected_revision_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, openWorld=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the store is encrypted, revisions are preserved, and other same-account AIs share state via memory sync. It does not disclose what happens on a revision mismatch (error vs. overwrite), which is the key behavioral unknown for a concurrent-write tool.

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?

Three short sentences, front-loaded with the operation then the argument rule then the collaboration note. The closing sentence about other same-account AIs continuing state is the weakest, reading more like a product blurb than an instruction an agent can act on.

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

Completeness3/5

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

For an 8-parameter mutation tool with no output schema and zero schema description coverage, the description covers purpose, one parameter's provenance, and the status vocabulary, but leaves six parameters and the conflict/failure behavior unexplained. Adequate to attempt a call, insufficient to call it correctly under contention.

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 0% across 8 parameters, so the description must compensate and only partially does. It usefully enumerates the status vocabulary (todo, in_progress, blocked, done) that the schema leaves as an unconstrained string, and explains expected_revision_id's source, but project, task_id, title, notes, source and device_id remain undocumented anywhere.

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 concrete verb pair (create or update) and resource (task in shared encrypted project memory), plus scope qualifiers: revisions preserved and AI provenance retained. It distinguishes itself from the context tools by naming project_context_get as the revision source, though it doesn't fully delineate why an agent would choose this over project_context_update.

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?

Gives explicit branching guidance: for existing tasks, supply expected_revision_id from project_context_get; the create path is implied by omission of that argument. What's missing is a clear statement of when NOT to use it or what the alternative memory tools (memory_save, project_context_update) cover instead.

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