Skip to main content
Glama

Turn X background reads on or off

set_x_capabilities
Idempotent

Turn an X account's paid background reads (analytics, inbox) on or off. Both are off by default because every X read is billed to you at X's prices; neither feature syncs anything yet. Turning inbox on needs DM permissions the account may not have granted: the error then lists the scopes a reconnect must add.

Input Schema

NameRequiredDescriptionDefault
updateYes
accountIdYesAn accountId from list_accounts.
profileIdYesA profileId from list_profiles.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / profileId / description
      Previous value: -"Defaults to the profile your API key is bound to."New value: +"A profileId from list_profiles."
    • changedInput schema / required
      Previous value: -[
      -  "accountId",
      -  "update"
      -]New value: +[
      +  "profileId",
      +  "accountId",
      +  "update"
      +]
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations cover safety and idempotency, and the description adds genuinely new behavior: every X read is billed at X's prices, neither feature actually syncs yet, and enabling inbox can fail with a scope-list error requiring reconnect. That is exactly the context a caller needs before flipping a flag.

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?

Three short sentences, no filler. The action and scope come first, then billing rationale, then the permission/error caveat.

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 non-destructive, idempotent toggle with no output schema, the description covers defaults, cost, permission prerequisites, and error semantics. Only the update-object nesting is left entirely to the schema.

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 67% and the schema already documents profileId and accountId, while the description only clarifies what the inbox/analytics booleans mean semantically. It adds meaning for the capability flags but says nothing about the nested update wrapper structure.

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 (turn on/off) and resource (X account's paid background reads, named as analytics and inbox), and it is clearly distinguishable from read-side siblings like get_x_usage.

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?

Explains the default state (both off) and the cost-driven reason to leave them off, which effectively tells the agent when enabling is warranted. It does not name an alternative tool for viewing usage, but the context is otherwise explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources