Skip to main content
Glama

Get one account

accounts_get
Read-onlyIdempotent

Returns one account with its capabilities, its sending policy (approval, caps, allowed recipients) and its health. Use it before acting on an account you are unsure of, e.g. to check whether sends need approval. Example: { "account_id": "acc_…" }.

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": {
      "account_id": "<account_id>"
    },
    "name": "accounts_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYesThe account to act on, an `acc_…` id from accounts_list.

Output Schema

NameRequiredDescriptionDefault
healthYes
policyYes
accountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / account / properties / capabilities / items / description
      Previous value: -"A capability: one of mail.read, mail.search, mail.threads, mail.folders, mail.drafts, mail.send, mail.organize, mail.changes, calendar.read, calendar.write, calendar.respond, calendar.propose_time, calendar.free_busy, calendar.attendee_free_busy, calendar.online_meeting, chat.read, chat.send; new values may be added."New value: +"A capability: one of mail.read, mail.search, mail.threads, mail.folders, mail.drafts, mail.send, mail.organize, mail.changes, calendar.read, calendar.write, calendar.respond, calendar.propose_time, calendar.free_busy, calendar.attendee_free_busy, calendar.online_meeting, chat.read, chat.send, contacts.read, contacts.write; new values may be added."
  2. Changed1 schema field changed
    • changedOutput schema / properties / account / properties / capabilities / items / description
      Previous value: -"A capability: one of mail.read, mail.search, mail.threads, mail.folders, mail.drafts, mail.send, mail.organize, mail.changes, calendar.read, calendar.write, calendar.respond, calendar.propose_time, calendar.free_busy, calendar.attendee_free_busy, calendar.online_meeting, chat.read; new values may be added."New value: +"A capability: one of mail.read, mail.search, mail.threads, mail.folders, mail.drafts, mail.send, mail.organize, mail.changes, calendar.read, calendar.write, calendar.respond, calendar.propose_time, calendar.free_busy, calendar.attendee_free_busy, calendar.online_meeting, chat.read, chat.send; new values may be added."
  3. Changed1 schema field changed
    • changedOutput schema / properties / account / properties / capabilities / items / description
      Previous value: -"A capability: one of mail.read, mail.search, mail.threads, mail.folders, mail.drafts, mail.send, mail.organize, mail.changes, calendar.read, calendar.write, calendar.respond, calendar.propose_time, calendar.free_busy, calendar.attendee_free_busy, calendar.online_meeting; new values may be added."New value: +"A capability: one of mail.read, mail.search, mail.threads, mail.folders, mail.drafts, mail.send, mail.organize, mail.changes, calendar.read, calendar.write, calendar.respond, calendar.propose_time, calendar.free_busy, calendar.attendee_free_busy, calendar.online_meeting, chat.read; new values may be added."
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds some behavioral context about what the account record contains (policy, caps, health), but that is largely return-payload information already implied by the output schema, and it says nothing about permissions or error behavior such as an unknown id.

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?

Three short sentences, front-loaded with the return content, then the usage trigger. The trailing JSON example is somewhat redundant given the schema already shows the id form, but it is brief and does not bury the core statement.

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 read tool with a rich annotation set and an output schema, the description covers purpose, return contents and a usage trigger adequately. Nothing essential to correct invocation is missing, though a note on failure for an invalid or unknown account id would round it out.

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 description coverage is 100% and the single account_id parameter is already documented in the schema, including the `acc_…` id format and its origin in accounts_list. The description's inline example merely restates that, adding no new semantic meaning, so the baseline of 3 applies.

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 and resource ('Returns one account') and enumerates what is included: capabilities, sending policy (approval, caps, allowed recipients) and health. The singular 'one account' implicitly contrasts with the list-style siblings (accounts_list, accounts_get_all_accounts_health), though no sibling is named explicitly.

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 a concrete trigger — 'Use it before acting on an account you are unsure of, e.g. to check whether sends need approval' — which tells the agent a real decision point. It lacks an explicit exclusion pointing to accounts_list for enumeration or the health-only sibling, so guidance is clear but not exhaustive.

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