Skip to main content
Glama

Get Collection Statistics

get_collection_stats

Retrieve collection statistics: request counts by method, folder, environment, per-request file paths, and environment variable names to inspect collections before merging or running.

Instructions

Get statistics about a Bruno collection — request counts by method, folders, environments, and per-request details including file paths. environmentDetails lists each environment with the NAMES of the variables it declares (values are withheld), so you can see what an environment already defines before merging into it with set_environment_variable. Use filePath values as entries in the requests list of run_collection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collectionPathYesAbsolute path to collection directory. Use the path returned by list_collections.
Behavior4/5

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

No annotations are provided, so the description carries the burden. It adds a valuable behavioral disclosure: environmentDetails lists only the NAMES of variables, with values withheld. It also implies a read-only nature by describing the tool as collecting statistics, though it does not discuss side effects or error behavior.

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?

The description is three sentences, front-loaded with the main purpose, and each sentence adds substantive value: the overall statistics, the environmentDetails behavior, and the run_collection integration. There is no filler or redundant repetition of schema information.

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?

With no output schema, the description sufficiently explains the key return sections (request counts by method, folders, environments, per-request file paths) and provides actionable cross-tool guidance. It gives enough detail for an agent to understand what the tool returns and how to use it effectively.

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%: the only parameter, collectionPath, already has a full description in the schema including the direction to use the path returned by list_collections. The tool description adds no additional parameter-level meaning, so the baseline score of 3 applies.

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?

The description clearly states the action ('Get statistics') and the resource ('a Bruno collection'), and enumerates what is included: request counts by method, folders, environments, and per-request details. This distinguishes it from sibling tools by framing it as a read-only summary/analysis tool.

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?

The description gives concrete usage guidance by explaining how to use the output: use filePath values for run_collection and inspect environment variable names before merging with set_environment_variable. It does not explicitly state when not to use this tool or name direct alternatives, but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ostico/bruno-mcp-studio'

If you have feedback or need assistance with the MCP directory API, please join our Discord server