Skip to main content
Glama

Get account

get_account
Read-onlyIdempotent

Gets the connected user's own name and email, the workspace name and plan, the access level, the monthly allowance, and Free sends left. Call it when the user means themselves or asks what they can do.

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
userNo
allowanceYes
workspaceYes
access_levelYes
free_sends_leftNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "access_level": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "read",
      +            "prepare",
      +            "manage"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "allowance": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "limit": {
      +          "type": "number"
      +        },
      +        "remaining": {
      +          "type": "number"
      +        },
      +        "resets_at": {
      +          "type": "string"
      +        },
      +        "used": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "limit",
      +        "used",
      +        "remaining",
      +        "resets_at"
      +      ],
      +      "type": "object"
      +    },
      +    "free_sends_left": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "user": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "email": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "email"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "workspace": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "name": {
      +          "type": "string"
      +        },
      +        "plan": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "plan"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "workspace",
      +    "allowance",
      +    "access_level"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, and closed-world, so safety behavior is covered. The description still adds meaningful context beyond them: the data is scoped to the *connected* user rather than any account, and mentions allowance/Free-sends fields that signal a metered plan model. It does not discuss freshness or caching, which keeps it short of a 5.

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?

Two short sentences with no filler: the returned fields are front-loaded, then the invocation trigger. Every clause carries information the agent can act on.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With zero parameters, an output schema present, and full annotation coverage, the description only needs to establish what the call is for and when to make it — both of which it does. Return-value formatting is correctly delegated to the output schema.

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 nothing for the description to clarify and it correctly makes no parameter claims. The schema is empty with additionalProperties false, consistent with the description's implicit no-argument contract.

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?

"Gets the connected user's own name and email, the workspace name and plan, the access level, the monthly allowance, and Free sends left" is a specific verb plus an enumerated field list, so the agent knows exactly what comes back. It is unambiguously distinct from all the get_document / get_template / search_* siblings, which each target a different resource.

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?

"Call it when the user means themselves or asks what they can do" gives a concrete trigger condition tied to self-reference and capability questions. It does not name an explicit alternative or a when-not-to case, but the resource scoping makes the boundary obvious against the document-level siblings.

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.