Skip to main content
Glama

GoldCoach

Catalog Service Performance

get_courseshelf_performance
Read-only

How did calls to the catalog service perform? From the box's call log: each call that reached the box, newest first, with its time (at), tool, outcome (answered; stopped by a budget; busy, queue full or wait expired; invalid_params; error; not_pinned), ms from the slot being taken to the answer, the build that answered, and the stated cause where there is one; per tool, the count of each outcome; and the log files read. Also returns effective INI settings and the pinned database's page size, page count and free-list pages. Request storage_details for the largest table/index objects from SQLite dbstat, within the query budget. These are storage measures, not compaction-savings estimates or RAM measurements. Arguments are logged for the catalog services only. An empty log window is said so.

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

Input Schema

NameRequiredDescriptionDefault
toNoOptional ISO time the window ends (default now)
fromNoOptional ISO time the window starts (default 24 hours before 'to')
toolNoOptional: only the calls of this tool
limitNoOptional call page size (default 200); also limits storage objects to at most the default page size. The answer-size budget may trim either list further and says so
min_msNoOptional: only the calls that took at least this many ms
outcomeNoOptional: only the calls with this outcome
storage_detailsNoOptional, default false: read the largest table/index objects from SQLite dbstat, showing allocated, payload and unused-within-pages bytes. This can scan the artifact; it runs only on request under the existing query budget. An unavailable breakdown is stated, never reported as zero.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations provide only readOnlyHint=true, but the description carries the rest well beyond that bar: newest-first ordering, default 24-hour window, that the answer-size budget may trim either list and says so, that an empty log window is explicitly announced, that storage_details can scan the artifact, and that an unavailable breakdown is stated rather than reported as zero. That is exactly the kind of degradation and cost behavior an agent needs.

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

Conciseness3/5

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

The content is dense and largely front-loaded, but it is delivered as one enormous semicolon-chained sentence followed by a few short ones, which makes the return payload hard to parse on first read. Nearly every clause earns its place, yet the structure could be reorganized into distinct return/behavior blocks without losing information.

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?

With 7 optional parameters, no output schema, and only a readOnlyHint annotation, the description does the heavy lifting: it describes the returned data, defaults, ordering, truncation, and the opt-in storage scan with its cost caveat. Minor residual gaps are the exact shape of the per-tool counts and pagination mechanics, but nothing critical to correct invocation 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?

Schema coverage is 100%, so the baseline is 3, and the description earns extra: it expands the outcome enum semantics ("stopped by a budget; busy, queue full or wait expired") and clarifies that limit also caps storage objects and that the query budget may trim further. The only gap is that the 'to'/'from' interaction is left entirely to the schema.

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?

The description opens with a concrete question ("How did calls to the catalog service perform?") and then enumerates exactly what comes back: per-call time, tool, outcome, duration, serving build, per-tool outcome counts, log files read, effective INI settings, and DB page metrics. The resource is unmistakable (catalog-service call log + storage diagnostics), though it never names or distinguishes itself from siblings like get_courseshelf_summary.

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?

Useful scoping is implied through caveats: storage_details must be explicitly requested, results are "storage measures, not compaction-savings estimates or RAM measurements," and "arguments are logged for the catalog services only." However, there is no explicit when-to-use/when-not statement and no alternative tool is named for adjacent questions, so the agent must infer fitness.

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.