Skip to main content
Glama

Known metric values

metric_values
Read-onlyIdempotent

Each metric's known value over this project's generated data, overall and per month.

    These are known answers: computed by the studio over exactly the rows
    `preview_data` and `write_data` produce with the same `seed`, `rows`
    and `as_of` (YYYY-MM-DD), so a query written against those rows can be
    checked against them. Leave the arguments out and the project's own
    settings are used. On Free they are computed over Free's capped rows.
    

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": {
      "project_id": "<project_id>"
    },
    "name": "metric_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNo
seedNo
as_ofNo
project_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the readOnlyHint/idempotentHint annotations, it discloses the important behavior: values are computed deterministically by the studio over exactly the rows preview_data and write_data produce for the same seed/rows/as_of, so they are reproducible ground truth. It also flags a real edge condition — on Free plans the values are computed over Free's capped rows — which affects whether comparisons will match. It adds no info on pagination or output shape, but an output schema exists.

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?

Front-loads the resource and scope in the first sentence, then layers the determinism contract and defaults. A few phrases are redundant ('known answers ... checked against them'), but every sentence contributes information and none is filler.

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?

This is a read-only reference tool with an output schema, so return values need not be described. The description covers what it returns, how it is computed, how arguments map to preview_data/write_data settings, and the Free-tier caveat — enough for an agent to call it and interpret results correctly.

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 0%, so the description must carry the semantics, and it does explain the meaning of seed, rows and as_of (including the YYYY-MM-DD format and the default behavior when omitted). However it never states the type or role of project_id, nor whether seed/rows must match those used by preview_data/write_data for the comparison to be valid — a critical semantic left implicit.

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?

States a specific resource and scope ('each metric's known value over this project's generated data, overall and per month') and frames it as reference answers rather than raw metrics, which separates it conceptually from get_metrics/list_metrics. It stops short of explicitly naming the sibling an agent should use when it wants live metric definitions rather than known values.

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?

Gives the operative condition for use: 'a query written against those rows can be checked against them', i.e. this is the ground truth for validating queries over preview_data/write_data output. It also explains the omission case ('Leave the arguments out and the project's own settings are used'). It does not state when not to use it or name a preferred alternative, so it is clear context without exclusions.

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