amazon-q-developer-cli icon indicating copy to clipboard operation
amazon-q-developer-cli copied to clipboard

`/usage` does not account for MCP tool context

Open evanliu048 opened this issue 1 year ago • 0 comments

Description: /usage currently only reports client-side context and does not include the system prompt injected by the backend (e.g. full list of MCP tools). This leads to significantly underreported token usage. For example, an MCP server with ~10k tokens of tool descriptions still shows under 1000 tokens used.

Proposed fix: Update /usage to include a separate section for MCP tool context, or report full token usage including system prompt.

evanliu048 avatar Jun 11 '25 18:06 evanliu048