Skip to main content
Glama

List tool groups and costs

list_groups_with_costs
Read-onlyIdempotent

Lists tool groups with the context-token cost to load each and overall totals, helping you gauge discovery overhead before selecting a group.

Instructions

Tool GROUPS with the context-token cost of loading each; to find a tool use list_capabilities. Read-only. Returns a line per group and the totals.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the 'Read-only' sentence is largely redundant. The valuable addition is the return shape — 'a line per group and the totals' — which compensates for the absent output schema.

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?

One sentence, three clauses, front-loaded with the resource and cost dimension, then the alternative, then read-only and return shape. No filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A zero-parameter, read-only list tool with no output schema needs purpose, sibling routing, and a hint at what comes back — all three are present, so nothing an agent needs in order to call it is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Zero parameters, so the baseline of 4 applies; there is no parameter semantics to document and the schemas carry nothing extra.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb+resource: lists tool GROUPS with the context-token cost of loading each, and explicitly contrasts with list_capabilities for finding an individual tool. An agent can distinguish it from every sibling without opening a schema.

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?

Names the alternative (list_capabilities) and the condition that selects it ('to find a tool'). It doesn't state exclusions for the other siblings (describe_tool, search_capabilities), but the routing guidance is explicit enough to choose correctly.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.