Skip to main content
Glama

upsert_secret

Create or update a campaign secret, hidden conspiracy, or leverage point, including its truth, status, severity, and who knows or suspects it.

Instructions

Create or update a secret, hidden conspiracy, or leverage point 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": {
      "title": "<title>",
      "truth": "<truth>"
    },
    "name": "upsert_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoOptional secret ID for updates
dateNo
noteNoOptional historyLog entry note
tagsNo
titleYesShort handle, e.g. "Perwyn's True Killer"
truthYesObjective ground truth
statusNo
severityNo
campaignIdNo
subjectIdsNoCharacters or Houses implicated/affected
leverageNoteNoConcrete fallout or leverage if exposed
relatedEventIdsNo
publicCoverStoryNoOfficial narrative believed by the realm
knownByCharacterIdsNoCharacters with proof or direct knowledge
suspectedByCharacterIdsNoCharacters who have partial clues or suspicions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden for a mutation tool. It only states the operation and campaign scope; it does not say whether an update merges or overwrites existing fields, what happens if the supplied id is unknown, or that campaignId defaults to the active campaign.

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?

It is a single front-loaded sentence with no filler, and the verb and scope come first. Its brevity is efficient, though it borders on under-specification for a 15-parameter mutation.

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 15 parameters, no annotations, and no output schema, this tool is complex enough to need notes on insert versus update behavior, required-field meaning (title and truth), and how the knowledge-tracking sibling relates. One sentence leaves those gaps open.

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 60%, so the description needs to compensate for the remaining undocumented parameters and does not. It adds no meaning for status, severity, subjectIds, relatedEventIds, or the relationship between truth and publicCoverStory beyond restating that a secret exists.

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 gives a specific verb pair (create or update) plus the resource (a secret) and its scope (the active campaign), so an agent knows the general operation. It does not distinguish itself from the closest sibling, update_secret_knowledge, or explain that upsert means insert-without-id and update-with-id.

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 when-to-use guidance, no mention of when to prefer update_secret_knowledge or list_secrets, and no explanation of the id/no-id branch that selects insert versus update. The agent must infer all routing from the name and schema.

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