Skip to main content
Glama

Get project cost summary

get_project_cost_summary
Read-only

Budget-vs-actual for one project: actual_cost (from logged daily_log_entries, by entry_type), change order cost impact (approved vs pending), purchase-order commitments, invoiced/paid/outstanding billing, accepted-quote contracted value, and a variance = budget - (actual_cost + approved change orders + committed POs). variance_percent is null if budget is 0.

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_id": "<project_id>"
    },
    "name": "get_project_cost_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/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 safety is covered. The description adds real behavioral context beyond that: which source data feeds actual_cost (logged daily_log_entries by entry_type), that POs are counted as commitments, and that variance_percent returns null when budget is 0 — an edge case an agent would otherwise misread as an error.

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?

A single dense sentence that front-loads the core purpose and then walks through the components in a logical order, ending with the variance formula and the null case. Every clause carries information, though the sentence is long enough that a reader must parse carefully.

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 explain return values, and it does so thoroughly — enumerating each metric and spelling out the variance formula and its null behavior. The only real gap is parameter format for project_id; otherwise an agent has enough to call and interpret the tool.

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 description coverage is 0% for the single parameter, so the description carries the burden but only says 'for one project'. It does not state whether project_id is a UUID, slug, or name, nor what happens for an unknown ID. Baseline 3 for a one-param tool with an undocumented parameter is reasonable, but no extra meaning is added.

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 verb+resource ('Budget-vs-actual for one project') and enumerates exactly which figures are returned (actual_cost, change order impact, PO commitments, billing, contracted value, variance). Scope 'for one project' implicitly contrasts with the sibling get_portfolio_summary, though it never names an alternative.

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?

Usage is only implied: an agent can infer this is the per-project rollup to call when it has a single project_id and needs budget-vs-actual figures. There is no explicit when-to-use statement, no mention of prerequisites or permissions, and no guidance on choosing between this and get_portfolio_summary.

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