Skip to main content
Glama

get_project_totals

Read-only

The money of a project (sub-projects included unless subprojects=false): the total of every number / money / payments / numeric formula field (summed by field name, other currencies converted at today's National Bank of Ukraine rate; done and open; payments received and expected) and the budget: agreed amount, cost of the tasks, left or over, received, expected, still to receive.

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": {
      "project": "<project>"
    },
    "name": "get_project_totals"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesproject key or id, e.g. "WEB"
subprojectsNofalse = this project only; default true = with its sub-projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / project / description
      Added value: +"project key or id, e.g. \"WEB\""
    • addedInput schema / properties / subprojects / description
      Added value: +"false = this project only; default true = with its sub-projects"
  2. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish readOnly, non-destructive, closed-world behavior, and the description goes further by disclosing aggregation semantics that the agent could not guess: sub-projects are included by default, foreign currencies are converted at today's National Bank of Ukraine rate, and totals span both done and open items and both received and expected payments. It does not discuss pagination, caching, or performance, but the computational behavior is unusually well exposed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Everything is packed into one long sentence whose core payload sits inside a deep parenthetical, so the key output fields (field-name sums, budget breakdown) are buried rather than front-loaded. The information earns its place, but the structure makes it harder to scan than a short bulleted breakdown would.

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?

With no output schema, the description must carry the return shape, and it does so by listing the computed categories returned (per-field sums, currency-normalized, budget agreed/cost/left-over/received/expected/still-to-receive). Combined with fully documented parameters and read-only annotations, an agent has enough to call it correctly; only the output's exact structure remains unspecified.

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?

Schema coverage is 100%, so both parameters are already documented, including the exact semantics of subprojects ('false = this project only; default true = with its sub-projects'). The description largely restates that default rather than adding new meaning, and gives no extra detail on the project key format beyond the schema's "WEB" example. Baseline 3 applies.

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 names a specific resource (a project's monetary totals) and enumerates exactly what is aggregated: every number/money/payment/numeric formula field summed by field name, plus budget figures (agreed, cost, left/over, received, expected). It is clearly a read/aggregation tool, though it never explicitly distinguishes itself from siblings like get_money_report or get_client_totals.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no statement of when to use this versus get_money_report, get_client_totals, or get_project. The only conditional guidance is the inline note that sub-projects are covered 'unless subprojects=false', which is a parameter effect rather than a usage rule.

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.