Skip to main content
Glama
eic

XRootD MCP Server

by eic

get_event_statistics

Retrieves event statistics and collection information from ROOT files via HTTP, with xrdcp fallback for inaccessible sources.

Instructions

Get event statistics and collection info from ROOT file. Prefers HTTP-based access; if unavailable, set allow_copy: true to fall back to xrdcp.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to ROOT file
serverNoName of the XRootD server to use (default: first configured server)
allow_copyNoFall back to a full xrdcp file copy if HTTP access fails (default: false).
Behavior3/5

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

With no annotations, the description carries full burden. It discloses access behavior (HTTP vs xrdcp) but does not mention whether the tool is read-only, performance implications, error modes, or what happens to the file. Partial transparency.

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?

Two concise sentences with front-loaded purpose. No redundant or unnecessary content. Every sentence adds value.

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

Completeness2/5

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

No output schema exists, but description fails to explain what the tool returns (statistics format, collection info). No annotations provide safety or side-effect info. With 3 parameters and no output description, the tool definition feels incomplete.

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 covers all parameters with descriptions (100% coverage). Description adds context on allow_copy usage (fallback condition) but does not add new parameter semantics beyond the schema. Baseline 3 is appropriate.

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?

Description clearly states the tool gets event statistics and collection info from a ROOT file. It also specifies the access methods (HTTP preferred, xrdcp fallback). However, it does not explicitly differentiate from sibling tools like get_dataset_event_statistics or get_statistics, leaving some ambiguity.

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?

Provides guidance on when to set allow_copy (when HTTP fails), but no guidance on when to use this tool versus siblings like get_statistics or get_dataset_event_statistics. No when-not-to-use or alternative recommendations.

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/eic/xrootd-mcp-server'

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