Skip to main content
Glama

Get plan and credits

get_account
Read-only

Use this when the user asks about their The Influencer AI plan, credits, what something costs, or how many influencers they can still create. Starts with a short summary you can pass on as is. Returns the plan, when the current period ends and whether it renews (the date can be missing on some accounts), whether the user can generate from here (on a plan or a trial: false only without either, whatever the credits), credits and new-influencer slots (each: available = left_from_allowance + extras; allowance_period says what the allowance covers: a billing month, which resets at renewal, or the whole trial; bought extras never reset), whether a renewal payment is failing, the longest video the plan allows and whether it includes AI clones (limits is null without a plan or a trial), and the credit price of each action (a photo is 1 credit; a video is 1 credit per second, or 2 per second with audio). For plan prices and what a plan or trial includes, send the user to plans_url, which is always current, rather than quoting them from elsewhere; on a plan, credits and influencer slots are added from the dashboard on the website (not during a trial).

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint/openWorldHint, but the description goes much further: it documents the short summary header, nullable fields (the date may be missing, limits is null without a plan or trial), the credits arithmetic (available = left_from_allowance + extras, extras never reset), and the failing-renewal signal. It even explains where credits are topped up (dashboard, not during a trial).

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?

Front-loaded correctly: the when-to-use clause comes first, then the payload description, then the plans_url/dashboard guidance. It is a dense run-on paragraph with heavy parenthetical nesting, so readability suffers slightly, but nearly every clause carries distinct information.

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 zero-parameter, read-only getter with no output schema, the description carries the full burden of describing the return value and does so field by field, including edge cases. An agent can answer plan/credit questions and route pricing questions without further information.

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 schema baseline applies and there is nothing to disambiguate. The description instead spends that space explaining the shape of what comes back, which is more useful here.

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 names a specific resource set (plan, credits, costs, new-influencer slots) and enumerates the exact fields returned. No sibling tool deals with account/plan data, so the agent can distinguish it purely from the description's vocabulary.

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

Usage Guidelines5/5

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

It opens with an explicit trigger list: user asks about their plan, credits, what something costs, or how many influencers they can still create. It also gives an exclusion/routing rule — send the user to plans_url for plan prices and inclusions rather than quoting elsewhere.

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