Skip to main content
Glama
vocea-admin

@vocea.app/mcp-server

Official
by vocea-admin

vocea_get_credits

Retrieve the current credit balance for the authenticated user. Check available credits to manage usage on the Vocea platform.

Instructions

Get the current credit balance for the authenticated user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:86-89 (registration)
    Tool registration with name, description and empty input schema.
      name: "vocea_get_credits",
      description: "Get the current credit balance for the authenticated user.",
      inputSchema: { type: "object", properties: {} },
    },
  • Input schema for vocea_get_credits - no inputs required.
      inputSchema: { type: "object", properties: {} },
    },
  • Handler that calls vocea.users.credits() and returns the credit balance as JSON.
    case "vocea_get_credits": {
      const bal = await vocea.users.credits();
      return {
        content: [{ type: "text", text: JSON.stringify(bal) }],
      };
    }
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. 'Get' implies a read operation, but the description does not explicitly state that it is read-only or safe. It lacks details on authentication requirements or potential side effects, though the term 'balance' suggests no destructive actions.

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?

The description is a single sentence that conveys the core purpose efficiently. It is front-loaded and contains no extraneous 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?

Given the simplicity of the tool (no parameters, no output schema), the description fully covers what the agent needs to know: what it does and for whom.

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 input schema has zero parameters, so baseline is 4 according to calibration rules. The description adds no parameter details, but none are needed since schema coverage is 100%.

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 the specific verb 'Get' and identifies the resource as 'credit balance' for the 'authenticated user', clearly distinguishing it from sibling tools that deal with audio generation or listing.

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?

The description implies usage when the agent needs the credit balance. While there are no explicit when-not-to-use conditions or alternatives, the sibling tools are unrelated, so the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vocea-admin/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server