check_credits
Credits remaining and calls used for an API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No |
Credits remaining and calls used for an API key.
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It implies a read-only query by listing credits remaining and calls used, which suggests no destructive effects. It does not mention authentication, rate limits, or what happens when the API key is missing or invalid, but the operation is simple and fairly transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is brief and direct, with only one short sentence that is easy to parse. It front-loads the query concept and avoids irrelevant detail. It could be slightly stronger with a verb, but it contains no filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter tool with no output schema and no annotations, the description names both the input scope and the expected return values, which covers much of what an agent needs. It leaves gaps around whether the api_key is required, how to obtain or pass the key, and what response format to expect. The tool is simple enough that these are notable but not fatal omissions.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate for the undocumented api_key parameter. The phrase 'for an API key' loosely ties the parameter to the tool's purpose, but it adds no format, source, requiredness, or special behavior beyond what the parameter name and title already imply. The default empty string and zero required parameters also remain unexplained.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the resource (an API key) and the two outputs of interest: credits remaining and calls used. It is distinct from the sibling tools, which focus on PDF creation, XML generation, certificate lookup, signup, validation, and format selection, so an agent can tell it apart without much effort. However, it is phrased as a noun fragment rather than a stated action, which keeps it just shy of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no guidance on when to call this tool instead of a sibling, no preconditions, and no exclusions. It only states what the check returns. An agent can infer that it is used for quota/usage checks, but there is no explicit direction about context or alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.
Each tool covers a distinct operation: credits, signup, format advice, XML generation, PDF/Factur-X generation, validation, and certificate lookup. Even generate_einvoice_xml and create_facturx_pdf are clearly differentiated by output format, so an agent should not misselect.
Most tools follow a lowercase snake_case verb_noun pattern like check_credits, generate_einvoice_xml, and validate_einvoice. The exceptions are signup (no underscore) and which_format_do_i_need (question-style phrase), which present minor but noticeable deviations.
Seven tools is well-scoped for an e-invoice API: each covers a meaningful step in the user journey from signup and credit checking to format selection, generation, validation, and verification. No tool feels redundant or unnecessary.
The tool set provides a coherent end-to-end workflow: onboard with signup, check credits, determine the required format, generate XML or create a Factur-X PDF, validate the result, and look up verification certificates. There are no obvious dead ends for an agent attempting to produce and verify an e-invoice.