Skip to main content
Glama

set_primary_configuration

DestructiveIdempotent

Make a configuration the project's primary configuration in this environment. This pushes it to every connected game server immediately, replacing the current primary — tell the user which configuration it replaces. Calling it for the configuration that is already primary changes nothing. The switch happens when this runs. Always explain the change in reason; it is recorded with the change.

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy this change is being made, in one or two sentences a reviewer can judge it by. Shown to the approver.
projectIdYesThe project (application) id to scope this call to. Use list_projects to discover valid ids.
environmentYesThe environment name to scope this call to (e.g. 'production'). Use list_projects to discover the names available to this token.
configurationIdYesThe numeric id of the configuration.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations declare destructive=true and idempotent=true, and the description adds real blast-radius context: the change pushes to every connected game server immediately and replaces the current primary. It also discloses the no-op case and the runtime timing ('the switch happens when this runs'), which annotations alone cannot convey.

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?

Four short sentences, front-loaded with what the tool does and immediately followed by impact, then the no-op edge case and the reason requirement. Each sentence carries distinct information with no restatement of the name or title.

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 four-parameter mutation with no output schema, the description covers effect, blast radius, idempotency, and the reason requirement, which is close to sufficient. It omits that the change appears to go through an approver (implied by the reason parameter's schema text) and says nothing about permissions or whether the switch can be reverted.

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%, so the schema already documents all four parameters, including that reason is shown to the approver. The description only reinforces that reason must always be supplied and is recorded with the change, adding minor meaning over the schema.

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 and resource with explicit scope: make a given configuration the project's primary configuration in a named environment. An agent can distinguish this from update_configuration or create_configuration without opening the schema. It stops short of naming a sibling to contrast with explicitly.

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

Usage Guidelines4/5

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

Gives clear operating context: the call is a no-op if the configuration is already primary, and the agent must tell the user which configuration is being replaced. It does not mention alternatives (e.g., use update_configuration for non-primary changes) or prerequisites, so there is a small inference gap.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources