Skip to main content
Glama

Get Account

get_account
Read-onlyIdempotent

Get the Cardlake account this session is authenticated as: its account id, email, and display name. Use to confirm which Cardlake account this session is authenticated as, e.g. for debugging or multi-account setups.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_account"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
emailYes
account_idYes
display_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds the non-obvious behavioral point that the result is derived from the *session's* authentication rather than a supplied identifier, which explains why the tool takes no parameters.

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?

Two short sentences, front-loaded with the purpose and followed by usage context. The second sentence partly restates the first ('confirm which Cardlake account this session is authenticated as' repeats the opening clause), which is a small amount of redundancy.

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?

With a rich annotation set, an output schema covering return values, and no inputs, the description carries everything an agent needs to decide and invoke. It does not mention what happens when no session/account exists, a minor remaining gap.

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 tool takes zero parameters, so the baseline is 4; there is no schema semantics for the description to compensate for, and adding the session-scoping context is the right kind of extra meaning here.

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 ('Get the Cardlake account this session is authenticated as') and enumerates the returned fields (account id, email, display name), so it is clearly distinct from card-level siblings like get_card. It stops short of explicitly naming an alternative, which keeps it from a 5.

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?

Explicitly says when to use it: to confirm the authenticated account, for debugging or multi-account setups. There are no exclusions or named alternatives, but the sibling list contains no equivalent account-scoped tool, so no routing conflict is left unresolved.

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.