Skip to main content
Glama

Update an account

update_account
Idempotent

Modify account settings, credentials, proxy, folder, warmup, and daily limits. Set forceRelogin to replace credentials and queue a re-login.

Instructions

Update an account. Required API key scope: accounts:write. PATCH /accounts/{id} No schema validation; only the listed fields are read. If forceRelogin is true and username + password are given, credentials are replaced and a re-login is queued (202). Otherwise fields are updated (200). In production a proxy cannot be removed (only replaced) and warmup requires a proxy.

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": {
      "id": "<id>",
      "body": "<body>"
    },
    "name": "update_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPath parameter `id`.
bodyYesJSON request body.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses the required API key scope (accounts:write), the HTTP verb/path, that no schema validation is performed and only listed fields are read, the exact status-code outcomes (200 vs. 202), and production-only constraints such as warmup requiring a proxy. These are exactly the operational facts annotations cannot convey.

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 purpose, required scope, and endpoint, then behavioral detail in a tight sequence. Every sentence carries information; the only near-waste is the lead line repeating the title, which does no harm but adds nothing.

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 mutation tool with a large nested body and no output schema, the description covers auth, endpoint, response codes, and the tricky credential/proxy/warmup edge cases. Minor gaps remain: the semantics of warmupMode, warmupConfig, and maxDailyLimit are left entirely to the schema, and there is no note on returning the updated account object.

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 100%, so baseline is 3, but the description adds real meaning the schema does not: the interaction between forceRelogin, username and password, and the production constraint that a proxy cannot be removed (remove_account/proxy delete) but only replaced, and that warmup requires a proxy. It stops short of explaining maxActive/maxDailyLimit or totp behavior, but it clearly exceeds schema-level documentation.

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 opening line restates the title, but the body quickly establishes a specific verb+resource plus the endpoint (PATCH /accounts/{id}) and the two distinct behaviors the tool can perform (field update vs. credential replacement with queued re-login). It is distinguishable from siblings like update_proxy or relogin_account, though it never names an alternative to differentiate itself explicitly.

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 description explains the condition that triggers the 202 credential-replacement path ('If `forceRelogin` is true and `username` + `password` are given'), which is effectively a when-to-use rule, but there is no guidance on when to pick this tool over relogin_account, set_account_listening, or update_proxy.

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