Skip to main content
Glama

Spend by person

get_people_spend
Read-only

AI spend per person across the API (by user account), Claude Code, Codex and Cursor, biggest first, with each person's team and a split by tool. Dollar values are list-price estimates.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_people_spend"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD. Defaults to the latest day.
fromNoFirst day, YYYY-MM-DD. Defaults to the start of the data.
teamNoTeam name, as listed by get_spend_summary.
limitNoHow many people to return, 1 to 200. Default 25.
last_daysNoOnly the most recent N days. Overrides from/to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed world), so the description's job is to add context — and it does: sorted biggest first, includes each person's team and a per-tool split, and dollar values are list-price estimates rather than billed cost. That last caveat materially affects how an agent should present the numbers.

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

Conciseness5/5

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

A single sentence with no filler: sources, ordering, returned fields, and the pricing caveat are all front-loaded and each clause carries information. Nothing is restated from the schema or annotations.

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?

There is no output schema, and the description compensates by describing the shape of each returned row (person, team, tool split, ordering). It stops short of covering truncation behavior via `limit` or whether results are paginatable, which matters for a 200-row list.

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 all five parameters are documented in the schema, and the description adds little beyond noting that each person carries a team (loosely tying to the `team` filter). Baseline 3 is appropriate when the schema does the work.

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?

Names a specific resource and scope: spend per person, broken out across API (by user account), Claude Code, Codex and Cursor. The 'per person' framing implicitly distinguishes it from the aggregate siblings (get_spend, get_spend_summary), but no sibling is named, so the agent must infer the boundary.

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 implied by the content ('spend per person', 'biggest first'), so an agent can guess this is the attribution/breakdown view rather than the summary view. There is no explicit when-to-use, when-not, or named alternative such as get_spend_summary or get_spend.

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