Skip to main content
Glama

switch_profile

Switch the active career profile so all analysis, planning, and task tools use the selected profile. Use it when managing multiple profiles and continuing job-search planning under another one.

Instructions

切换当前使用的档案。

何时调用:用户有多份档案,想切换到另一份继续规划时。 切换后,所有建档/分析/规划/任务工具都操作新档案。

Args: profile_name: 目标档案名(用 list_profiles 查看可用档案)

Returns: 切换结果 + 新档案的当前状态摘要。

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

Input Schema

NameRequiredDescriptionDefault
profile_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the key side effect: this is a global context change that silently re-targets all later profile/analysis/planning/task tools. It omits error behavior for an unknown or duplicate profile name and whether the switch persists across sessions.

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?

Front-loaded with a one-line purpose, then a when-to-call line, then the state-change effect, then Args/Returns. Well structured with no filler, though the Returns line partly duplicates what the existing output schema already provides.

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 single-parameter state-switching tool with an output schema and no annotations, the description covers purpose, trigger, parameter source, and downstream effect. Remaining gaps are edge-case handling (invalid name, switching away from unsaved work) rather than call-blocking omissions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the schema only labels the field 'Profile Name', so the description must compensate; it does by identifying the value as the target profile name and pointing to list_profiles as the source of valid values. It still gives no naming/format convention for the string.

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?

States a specific verb and resource (切换档案) and adds a scope statement that separates it from lookalike siblings: after the call, every 建档/分析/规划/任务 tool targets the new profile. An agent can distinguish this from list_profiles or delete_profile without opening any schema.

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 an explicit trigger condition (multiple profiles exist and the user wants to continue planning in another one) and routes name discovery to list_profiles. It does not state when not to call it, e.g. mid-task state loss or switching back via restore_profile, so it falls short of the full when/when-not/alternatives bar.

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