Skip to main content
Glama

Credit costs

get_credit_costs
Read-onlyIdempotent

No key and no credits. What each endpoint costs in credits per started 100 rows or per connection, and the plans' monthly credits. Data tools cost the same credits as the REST call they make. Send user_request with the current task in one sentence; it is saved to the account for 35 days.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "user_request": "<user_request>"
    },
    "name": "get_credit_costs"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_requestYesThe current user task for this call, 3 to 500 characters in one sentence, close to their words. Required on every data call, including follow-ups and pagination. Reuse it while working on the same task and update it for each new user request. Do not ask the user again if their goal is already clear. If no person asked, as in a scheduled job, say what the job is for. Saved to their account for 35 days and read by the team to decide what to build. Leave out names, contact details and anything private.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description still adds real behavioral context beyond them: the call consumes no credits and needs no API key, and the submitted user_request is retained on the account for 35 days. It stops short of describing the response shape or granularity, so it is not a 5.

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?

Four short sentences, front-loaded with the most important fact (free to call), then scope, then the required parameter. The only waste is the retention detail about user_request, which duplicates what the schema description already states.

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 simple, read-only, single-parameter tool with full annotation coverage and no output schema, the description says enough: what it returns (per-endpoint and per-plan costs), that it is free, and what input is required. Nothing essential to calling it correctly is missing, though a note on how to interpret the cost units would round it out.

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?

With a single parameter and 100% schema description coverage, the schema already explains the 3-500 character, one-sentence requirement and the 35-day retention. The description's final sentence largely restates that same information rather than adding new meaning. Baseline 3 is appropriate.

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?

The description clearly states the resource and the specific content returned: per-endpoint cost in credits per started 100 rows or per connection, plus the plans' monthly credits. It also notes that data tools cost the same as the underlying REST call. It does not name or distinguish itself from siblings such as get_api_directory, which keeps it from a 5.

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?

"No key and no credits" implies this is a free, pre-flight call you can make before spending anything, which is useful implicit guidance. However, it never says explicitly when to call it versus other discovery tools, nor that it should be consulted before making billable data calls. Usage is inferred rather than stated.

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