Skip to main content
Glama

upsert_thread

Create or update a plot thread in the active campaign, linking titles, summaries, statuses, characters, and timeline events. Use it to keep campaign storylines current.

Instructions

Create or update a plot thread in the active campaign.

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": {
      "thread": "<thread>"
    },
    "name": "upsert_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
threadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and does not meet it. It does not state update semantics (full replace vs. merge of omitted fields), whether related event/character IDs are validated or must already exist, what permissions are required, or what happens on a title collision.

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?

One front-loaded sentence with zero filler; the scope qualifier sits at the end where it is still easy to parse. It is efficient, though the brevity tips into under-specification rather than true concision.

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?

This is a mutation tool with a nested object payload, an enum field, no annotations, and no output schema, so the description should explain update semantics and reference validation. Instead it offers only a single sentence that repeats the tool name's meaning.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is reported as 0%, and the single nested "thread" object has seven properties including a status enum, yet the description adds nothing about them. The phrase "create or update" hints at the id-optional semantics, but that is already documented inside the schema's id description.

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 pair ("create or update") and resource ("plot thread") scoped to "the active campaign." An agent can distinguish it from delete_thread, get_thread, and resolve_thread, though the description never names those siblings explicitly.

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

Usage Guidelines3/5

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

The create-or-update framing implies when this tool applies, but there is no explicit guidance on when to prefer resolve_thread for closing a thread or get_thread for inspection. The "active campaign" scoping is the only real usage constraint supplied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.