Skip to main content
Glama

Plan get Kai tokens

plan_get_kai_tokens
Read-only

Kai token balance and packs. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": "plan_get_kai_tokens"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
user_idNo
client_idNo
user_emailNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered structurally. Beyond that the description adds nothing about authentication scope, whether the caller must be entitled to the brand, or what the balance/packs payload contains, despite an output schema existing.

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 with no padding, and the resource statement is front-loaded. The semicolon-joined parameter clause is compact, though the opening fragment is a little telegraphic rather than precise.

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

Completeness3/5

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

With an output schema present, return values need not be described, and the read-only annotation carries the safety story. However, for a tool with four fully undocumented parameters and multiple plan_get_* siblings, the definition leaves the agent guessing about user_id/user_email semantics and when this tool is the right pick.

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 0% across four parameters, so the description is the only source of meaning. It usefully explains that client_id selects the brand and defaults to the active one, and it flags extra as an open passthrough field, but user_id and user_email are left entirely unexplained and extra's accepted keys remain undefined.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase "Kai token balance and packs" tells the agent what data the tool surfaces, but it is a noun fragment with no verb, so the read action is only inferable from the tool name. It gives no differentiation from siblings like plan_get_usage or plan_get_current, which plausibly overlap in scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool, when not to, or which sibling to prefer for adjacent plan information. The only conditional content ("defaults to the active one") concerns parameter resolution, not tool selection.

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.