Skip to main content
Glama

upsert_house

Create or update a noble house in the active campaign, saving its name, seat, sigil, status, holdings, and milestone notes to persistent campaign memory.

Instructions

Create or update a noble house 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": {
      "house": "<house>"
    },
    "name": "upsert_house"
  }
}

Input Schema

NameRequiredDescriptionDefault
houseYes

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?

With no annotations at all, the description carries the full burden and does not meet it. It never explains the upsert dispatch rule (presumably keyed on whether 'id' is supplied), whether an update replaces or merges the existing record, or what happens to fields omitted on an update — the most consequential behaviors for a mutation tool. It also omits that 'note' appends a milestone to historyLog, which the schema happens to reveal but the description does not reinforce.

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 fourteen-word sentence with zero filler and the key distinction (create vs update) front-loaded. Its brevity is efficient rather than padded, though the same brevity is what leaves the behavioral gaps above.

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?

For a tool with a 15-field nested payload, no annotations, and no output schema, one sentence is far too thin. An agent still cannot tell what a successful upsert returns (created vs updated house, id), how partial updates are handled, or what the active-campaign dependency requires.

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?

The top-level schema description coverage is 0% (the single 'house' parameter has no description), but the nested object documents most of its fields, including the critical 'id'/'omit for new house' semantics. The description itself adds no parameter meaning whatsoever, so it does not compensate for the container-level gap; it only avoids being harmful.

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 pairs a specific verb (create or update) with a specific resource (a noble house) and scopes it to the active campaign, so an agent can distinguish it from get_house, list_houses, find_house_by_name, and delete_house without opening the schema. It stops short of naming any sibling, but the write-vs-read split 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?

The only guidance is the phrase 'in the active campaign', which implies a campaign must already exist but never says so explicitly. There is no statement about when to prefer this over list/get tools, no prerequisites, and no indication of error behavior when no active campaign is set.

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