Skip to main content
Glama

Get run metrics

get_run_metrics
Read-onlyIdempotent

One run with labelled metrics (mention rate, citation rates, tracked mention share) and competitor share of voice with 95% Wilson ranges. Requires the monitoring:read key permission.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>",
      "runId": "<runId>"
    },
    "name": "get_run_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesMonitoring run id
projectIdYesClient project id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds value beyond that by disclosing the required authorization scope (monitoring:read) and the statistical nature of the returned ranges (95% Wilson intervals), which an agent cannot learn from the annotations.

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?

Two compact sentences: the payload description first, then the permission prerequisite. Nothing is repeated from the schema, though the parenthetical metric list makes the first sentence dense and slightly harder to scan.

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 no output schema, the description carries the burden of describing returns, and it does name the metric groups and the confidence-interval method. It stops short of describing how competitor share-of-voice is keyed or whether metrics are broken down per model/prompt set, which is a minor gap for a two-parameter read tool.

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 description coverage is 100% and both parameters (projectId, runId) are documented there, so the baseline of 3 applies. The description adds no format, source, or relationship guidance for these ids beyond what the schema states.

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?

Names the specific resource (a single run) and enumerates the metric families returned (mention rate, citation rates, tracked mention share, competitor share of voice), which distinguishes it from sibling listing/retrieval tools like list_runs or get_citations. It never uses an explicit verb like 'retrieve', but the noun-phrase form is unambiguous.

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?

Usage is only implied: the tool takes a runId, so an agent can infer it is used after listing runs to drill into one run's metrics. There is no explicit 'use this when...' statement and no exclusion of alternatives such as get_report or get_citations, which also surface analysis output.

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.