Skip to main content
Glama

set_active_campaign

Switches the active campaign context for all subsequent tool calls, ensuring characters, events, and tomes are logged and retrieved for the correct campaign.

Instructions

Switch the currently active campaign context for all subsequent tool calls.

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": {
      "name_or_id": "<name_or_id>"
    },
    "name": "set_active_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
name_or_idYesThe campaign name or ID to set as active

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does disclose the important global side effect on subsequent calls. However, it omits error behavior for invalid names, whether the setting persists across sessions, and what the response looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence that front-loads the action and its scope with zero wasted words.

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

Completeness4/5

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

For a simple one-parameter state-setting tool with no output schema, the description supplies the essential global-effect context. It could be slightly more complete by mentioning failure behavior or a discovery hint, but nothing critical is missing.

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 coverage is 100% for the single parameter 'name_or_id', and the description adds no syntax or format details beyond what the schema already provides, making the baseline score of 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb+resource ('Switch the currently active campaign context') and immediately clarifies the effect on all subsequent tool calls, making it distinguishable from the read-only sibling get_active_campaign.

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?

Usage is implied by 'for all subsequent tool calls', but there is no explicit guidance on when to use this versus get_active_campaign or list_campaigns, nor any mention of preconditions such as verifying the campaign name or ID first.

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