Skip to main content
Glama

Describe RUM queries

describe_site_query
Read-onlyIdempotent

Use before query_site. Returns metric meanings and units, supported query shapes, dimensions, ordering rules, time buckets, defaults, and a complete-days example.

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": "describe_site_query"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
rulesYes
metricsYes
defaultsYes
examplesYes
dimensionsYes
query_typesYes
search_fieldsYes
allowed_bucketsYes
filter_operatorsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is fully covered. The description adds the sequencing behavior (call before query_site) and frames the output as reference material, but does not say whether the content is static/cacheable or version-bound. A 4 reflects real added context with a small remaining gap.

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, front-loaded with the actionable directive, followed by the content inventory. No filler and nothing that could be cut without losing 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?

For a zero-parameter, read-only reference tool with an output schema present and rich annotations, the description covers both the reason to call it and what it yields. Nothing an agent needs in order to invoke it correctly 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?

There are zero parameters, so the baseline is 4; there is nothing for the description to disambiguate. It does not need to add parameter meaning here.

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 uses a specific verb ("Returns") and enumerates exactly what is returned: metric meanings/units, query shapes, dimensions, ordering rules, time buckets, defaults, and an example. Pairing that with "Use before query_site" makes it unmistakable from the sibling query_site without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit ordering directive ("Use before query_site"), which is precisely the when-to-use guidance an agent needs for a documentation-priming tool. No alternative doc tool is present among the siblings, so no exclusion clause is required.

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