Skip to main content
Glama

Read a local account

account_get
Read-onlyIdempotent

Read a local account to retrieve its enabled status, mandatory password-change flag, and creation/update timestamps without exposing passwords or hashes; use accounts_list to resolve account names.

Instructions

Read a local account

Returns the named login’s enabled flag, mandatory password-change flag and creation/update timestamps, never passwords or hashes. Resolve names with accounts_list; a missing record returns 404.

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": "<account>"
    },
    "name": "account_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYesAccount name returned by accounts_list or account_get, passed verbatim; the path accepts 1–128 characters. Newly created local names use 1–64 characters, starting with a letter, followed by letters, digits, _, ., @ or -.

Output Schema

NameRequiredDescriptionDefault
nameYes
enabledYes
createdAtYes
updatedAtYes
operationIdNo
mustChangePasswordYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / account / description
      Added value: +"Account name returned by accounts_list or account_get, passed verbatim; the path accepts 1–128 characters. Newly created local names use 1–64 characters, starting with a letter, followed by letters, digits, _, ., @ or -."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "createdAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "enabled": {
      +      "type": "boolean"
      +    },
      +    "mustChangePassword": {
      +      "type": "boolean"
      +    },
      +    "name": {
      +      "maxLength": 128,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "operationId": {
      +      "type": "string"
      +    },
      +    "updatedAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "enabled",
      +    "mustChangePassword",
      +    "createdAt",
      +    "updatedAt"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.4.3

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is a read-only, idempotent, non-destructive, closed-world operation. The description adds useful behavior beyond annotations by specifying returned fields, explicitly excluding passwords and hashes, and documenting the 404 response for missing records.

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?

The description is short and front-loads the operation before covering return details, security exclusions, and error behavior. Its first line duplicates the title, but the remaining content is dense and purposeful.

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?

For a one-parameter read tool with annotations and an output schema, the description supplies the relevant behavioral details: what is returned, what sensitive data is excluded, how to resolve names, and what happens on a miss. Nothing essential for correct invocation appears to be missing.

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 100%, and the single account parameter is fully documented with provenance, constraints, and naming rules. The description adds only modest context that the value is a login name resolved via accounts_list, so the schema remains the primary source of parameter meaning.

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?

The description uses a specific verb and resource: "Read a local account." It further clarifies what is returned and distinguishes lookup resolution through accounts_list, so an agent can identify the operation without opening the schema.

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?

It tells the agent to resolve names with accounts_list and notes that a missing record returns 404, which gives clear context for correct use. It does not explicitly state when not to use this tool versus other account-related operations, so it stops short of full alternative guidance.

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

Deploy Server

Other Tools