Skip to main content
Glama

Algizian

Create service account token

create_service_account_token

Requires sign-in (scope orgs:tokens). Create a credential for a service account (role of the account), optional expiresAt. Shown once.

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": {
      "org": "<org>",
      "id": "<id>",
      "name": "<name>"
    },
    "name": "create_service_account_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesservice account id
orgYesorganization slug
nameYesdisplay name
tagsNofree labels to group items (for example the app or environment)
expiresAtNoISO 8601 time when the token stops working; optional

Output Schema

NameRequiredDescriptionDefault
resultYesThe result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (non-readOnly, non-destructive, non-idempotent), the description adds two useful behavioral facts: the required auth scope and that the token secret is "Shown once", warning the agent the value cannot be retrieved later. It still omits whether the token can be revoked or what permissions it inherits beyond "role of the account".

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?

Three very short sentences, each front-loaded and earning its place: the auth requirement, the action, and the one-time-secret warning. No filler or 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?

An output schema exists, so return values need not be explained, and the description covers the key concerns of a secret-creation mutation: access scope, optional expiry, and the fact the value is only shown once. Only minor gaps remain, such as inheritance/revocation behavior.

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%, so the schema already documents id, org, name, tags, and expiresAt. The description adds only the clarification that expiresAt is optional and that the token carries the account's role; it does not explain tags or name constraints beyond the schema, so the baseline of 3 is appropriate.

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?

"Create a credential for a service account" states a specific verb and a narrowly scoped resource, distinguishing it from account creation itself. It does not explicitly name how it differs from siblings such as create_org_token or create_test_login_token, but the resource phrasing is narrow enough that an agent can infer the distinction.

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?

The definition gives a prerequisite (sign-in with orgs:tokens scope) and an optional parameter, which implies usage context, but it never states when to choose this tool over create_org_token or create_test_login_token, nor any when-not conditions. Usage is implied rather than guided.

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