Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

switch_server

Switches the active SAP server profile by name, letting you target dev or prod systems for ADT API queries and reads.

Instructions

Switch the active SAP server profile by name

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": {
      "profile": "<profile>"
    },
    "name": "switch_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileYesProfile name to switch to, e.g. dev, prod

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden, and it discloses almost nothing. It doesn't say whether the switch affects all subsequent tool calls, whether in-flight operations are disrupted, whether authentication or reconnection is required, what happens on an unknown profile name, or whether the change persists across sessions. For a global-state mutation this is a substantial 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 front-loaded sentence with no filler. It is efficient, but so terse that useful behavioral context is omitted rather than kept concise.

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?

With one required parameter and no annotations, the definition is technically callable but leaves an agent unable to predict the consequences of the switch. It should specify the scope and persistence of the state change and any failure modes.

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?

Only one parameter exists and the schema fully documents it with a name/example ("dev, prod"). The phrase "by name" adds nothing beyond the schema, so the baseline 3 for high coverage applies; no validation rules or case-sensitivity details are added.

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 uses a specific verb ("Switch") on a specific resource ("active SAP server profile") and adds the selection key ("by name"). It clearly separates the tool from the create_*/get_* siblings, though it doesn't note a relationship to any sibling that might also affect server state.

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 description implies usage: call it when you need to target a different server profile. It gives no explicit when-to-use/when-not-to-use guidance, no prerequisites (e.g., valid profile names must already exist), and no notes on ordering relative to other calls.

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