Skip to main content
Glama

get_client_totals

Read-only

The money of all projects of a client: per project (see get_project_totals) and the totals of the fields across them. Use it for "how much does this client owe us?".

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": {
      "client": "<client>"
    },
    "name": "get_client_totals"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientYesclient id (see list_clients)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the output shape (per-project money plus totals of fields across projects), which is useful context, but says nothing about permissions, scoping limits, or currency/rounding behavior.

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?

Two short sentences with no waste, and the sibling reference is placed where it is needed. The opening 'The money of all projects of a client' is slightly awkward and could be a cleaner verb phrase, but nothing is redundant.

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 single-parameter read-only aggregate with no output schema, the description conveys what the result contains (per-project figures and cross-project field totals) and routes to the related tools. Nothing critical for correct invocation is missing.

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?

There is one parameter and schema description coverage is 100%, with the schema itself pointing to list_clients for the client id. The description adds no meaning beyond that, so the baseline of 3 for a fully documented single parameter 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 states a specific resource (money totals for all projects of one client) and its granularity (per project plus aggregated field totals), and explicitly names the sibling get_project_totals for per-project detail. Phrasing is slightly indirect ('The money of all projects') rather than a clean verb+resource, which keeps it below 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 Guidelines4/5

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

'Use it for "how much does this client owe us?"' gives a concrete selecting scenario, and the reference to get_project_totals clarifies the split between client-level and project-level totals. No explicit when-not or exclusion is stated, so it falls short of a full 5.

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.