Skip to main content
Glama

switch_profile

Switch your active Facebook session to a specific page or profile ID, enabling subsequent posts to be published under that identity.

Instructions

Switch the browser session to a target Facebook page/profile id so subsequent post_reel / post_photos go out AS that page (one account, many Pages). Requires a captured CometProfileSwitchMutation template.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_idYes
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the effect on subsequent posts and the requirement of a mutation template, but does not explain what happens if the template is missing or if switching back is possible. For a simple state-changing tool, this is adequate but not comprehensive.

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?

The description is two sentences, both front-loaded with the core purpose and effect. The second sentence adds a key prerequisite. No wasted verbiage, but it could be slightly more structured (e.g., separating the requirement).

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 tool with one parameter, no output schema, and no nested objects, the description covers the essential aspects: what it does, the effect on sibling tools, and a prerequisite. It is nearly complete for its simplicity, though it could clarify the exact behavior of switching (e.g., whether it's reversible).

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?

The schema has one parameter (target_id) with 0% description coverage. The tool description adds meaning by specifying it is a 'Facebook page/profile id', which clarifies the parameter's purpose beyond the schema's generic title 'Target Id'. However, it does not describe the format or how to obtain the id, leaving some ambiguity.

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 clearly states the action ('Switch the browser session'), the target ('Facebook page/profile id'), and the effect ('subsequent post_reel / post_photos go out AS that page'). It distinguishes from sibling tools like post_photos and post_reel by indicating this tool is used to set the identity for those operations.

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?

The description explains when to use the tool (before posting as a page) and explicitly mentions a prerequisite ('Requires a captured CometProfileSwitchMutation template'). However, it does not provide exclusions or alternative tools for switching profiles, though the sibling context makes the usage fairly clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/crisng95/fbem'

If you have feedback or need assistance with the MCP directory API, please join our Discord server