Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

switch_profile

Idempotent

Activates a named API key profile, directing all subsequent tool calls to use that profile's credentials.

Instructions

Switch the active API key to a named profile. All subsequent tool calls use this profile.

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": "<name>"
    },
    "name": "switch_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesProfile name to activate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare this is a non-read-only, idempotent, non-destructive, closed-world operation, but they do not convey that the tool mutates global session state. The description supplies exactly that: the switch applies to all subsequent tool calls, which is the critical behavioral fact for an agent sequencing its work. It does not say what happens on an unknown profile name, keeping it from a 5.

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?

Two short sentences with zero filler. The action is front-loaded and the consequence follows immediately, which is the right ordering for a state-changing tool.

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 one-parameter state toggle with full annotation coverage and no output schema, the description covers what the tool does and its scope of effect. The only gap is error behavior for a profile that does not exist, which is a minor omission at this complexity level.

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 single parameter is fully documented in the schema as 'Profile name to activate,' so the description adds little. It does reinforce that the name refers to an existing profile rather than an arbitrary string, but it gives no guidance on validation or failure behavior. Baseline 3 is appropriate at 100% schema coverage.

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 names a specific verb and object: 'Switch the active API key to a named profile.' An agent can immediately tell this is a session/auth state change, distinct from setup-style siblings such as add_profile. It does not explicitly call out a sibling by name, so 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?

Usage is implied rather than stated: 'All subsequent tool calls use this profile' tells the agent this must be called before doing work under a different profile. There is no explicit when-not guidance, no mention of prerequisites (e.g., the profile must already exist), and no named alternative such as add_profile for creating one.

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

Deploy Server

Other Tools