Skip to main content
Glama

Get usage statistics

get_usage_statistics
Read-onlyIdempotent

Return the usage statistics of this NET Genium instance for the last 30 days as JSON, read-only — execution count and total, average and maximum time of every edit form, view page, database query, external function and script. Use it to find the slowest and most used parts of the implementation. The statistics are collected only when logging to the database is turned on in the NET Genium settings; empty or outdated results mean the logging is off.

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_usage_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's added value is the fixed 30-day window and, importantly, the dependency on the database logging setting plus how to interpret empty or stale output. That is genuine behavioral context an agent could not get from the annotations, though the response shape beyond 'JSON' is left implicit.

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

Conciseness4/5

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

Three sentences, front-loaded with what is returned, followed by the purpose and then the logging caveat, and each sentence carries information. The only slack is the redundant 'read-only' restatement, which the annotations already declare, and the long enumeration of monitored object types.

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?

For a zero-parameter, read-only query tool with no output schema, the description supplies enough to call it correctly: the time window, the metric set, the use case and the logging precondition. It does not describe the JSON field names or how results are ordered or grouped, which is the remaining gap.

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?

The tool takes zero parameters and schema coverage is 100%, so the baseline is 4. The description correctly implies no inputs are needed by describing only a fixed default window of the last 30 days, with no mention of filtering options that an agent might wrongly try to supply.

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 opens with a specific verb and resource ('Return the usage statistics of this NET Genium instance') and enumerates the exact metrics returned (execution count, total/average/maximum time) and the object types covered (edit forms, view pages, database queries, external functions, scripts). That level of specificity cleanly separates it from siblings like get_record_counts or read_data.

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?

It states the intended use case explicitly ('find the slowest and most used parts of the implementation') and gives the precondition that selects for valid results: database logging must be enabled in NET Genium settings, otherwise results are empty or outdated. It stops short of naming a comparison tool or saying when not to call it, so it is clear context rather than full routing guidance.

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