Skip to main content
Glama

upsert_gods_batch

Batch insert or update deities within a specified pantheon, letting you add names, descriptions, and themes in one call to keep mythological catalogs current.

Instructions

Batch insert or update deities scoped to a specific pantheon.

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": {
      "pantheon_id": "<pantheon_id>",
      "gods": "<gods>"
    },
    "name": "upsert_gods_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
godsYesArray of deities to upsert
pantheon_idYesPantheon ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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 burden. It discloses that the operation mutates data, but says nothing about how an existing deity is matched (by name?), whether existing fields are replaced or merged, whether the operation is atomic across the batch, or what the call returns. For a batch mutation with zero annotation coverage, this is a substantive gap.

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 tight sentence with the operation and the scope front-loaded and no filler. It is efficient, though the extreme brevity is also the source of its missing detail.

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?

The tool is simple (2 params, no output schema, no nested objects) and the schema is fully described, so the essentials are covered. Still, for a mutation whose core semantic is conflict resolution, the absence of any statement about match keys, overwrite behavior, or partial-failure handling leaves a real gap.

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 100% for both parameters, so the schema already documents 'pantheon_id' and the 'gods' array. The description adds the scoping relationship between the two but does not clarify the semantically critical question of what key drives the upsert match. Baseline 3 is appropriate.

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 specific verb pair ('batch insert or update') and resource ('deities') plus a scoping constraint ('scoped to a specific pantheon'). The operation is unambiguous. It doesn't distinguish itself from siblings like 'create_god' or 'populate_gods_bulk', which is why it falls short of a 5.

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 word 'upsert' and 'batch' imply the situation: multiple deities that may already exist. However, the description never states when to prefer this over 'create_god' (single, new) or 'populate_gods_bulk', nor does it give any prerequisite context. Usage is inferable but not guided.

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