Skip to main content
Glama
fatwang2

x-api-mcp

by fatwang2

set_default_account

Idempotent

Choose which authorized account handles X API calls when no account is specified. This sets the fallback identity for posting, replies, and other multi-account actions.

Instructions

Choose which authorized account is used when a tool call omits account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only cover idempotentHint and openWorldHint; the description adds the non-obvious behavioral consequence that this setting governs calls that omit `account`, plus an implicit authorization requirement. It still omits persistence scope and error behavior for an unauthorized account, so it is helpful but not complete.

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?

A single front-loaded sentence with the core semantic effect in the first clause. Every word earns its place and nothing is padded.

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 setter with an output schema absent, the description conveys what the setting does and when it applies. The remaining gap is how to obtain a valid account value and what happens on failure, which would make it fully self-sufficient.

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 0% and the single `account` param is an undescribed string. The word "authorized" narrows the acceptable values (it must come from the user's linked accounts), which is real added meaning, but no format (handle vs id vs username) or discovery hint is given.

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 (set/choose) and resource (the default authorized account), and goes further by explaining the effect: the account used when a call omits `account`. It is unambiguous against write-style siblings like add_account/remove_account, though it never names an alternative.

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: the agent can infer this is the fallback-account setter, and that the account must already be authorized. There is no explicit when-to-use versus list_accounts/add_account, nor any prerequisite or failure condition spelled out.

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