Skip to main content
Glama
TwitterViewer MCP Server

TwitterViewer MCP Server

Get credit balance

get_credits
Read-onlyIdempotent

Retrieves the connected Plus account's remaining credit balance, including current-cycle plan credits and non-expiring credits, so you can track usage without consuming credits.

Instructions

Credit balance of the connected Plus account: plan credits for the current cycle plus any that never expire. Calling it costs nothing.

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_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so safety is covered structurally. The description adds genuine value beyond that by noting the call has no cost and by scoping the result to a Plus account, but it does not describe the return shape or units despite there being no output schema to fall back on.

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, front-loaded with what is returned, followed by the cost note. Every clause carries information; no filler.

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?

For a zero-parameter read tool with full annotation coverage, the definition supplies purpose, account scope, data composition, and cost behavior. The only meaningful omission is the shape of the returned balance (fields, units, currency), which matters somewhat given no output schema exists.

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 no parameter-level semantics are required; the schema is trivially complete at 100% coverage and there is nothing for the description to compensate for.

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?

States a specific resource and scope: the credit balance of the connected Plus account, broken into cycle plan credits and non-expiring credits. It is immediately clear what data comes back, though it does not explicitly differentiate from siblings (which are unrelated X tools, so that is a minor gap).

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?

Usage is implied rather than stated: the description frames the account as 'connected Plus account', implying a Plus-plan prerequisite, and 'Calling it costs nothing' hints it is safe to poll. There is no explicit when-to-use or when-not-to-use guidance, but for a zero-parameter read with no near-alternatives, inference is low-risk.

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