Skip to main content
Glama

Read a game's numbers

neme_metrics
Read-onlyIdempotent

Read a published game's last-30-day play metrics, including views, players, play rate, and load times, to see how it is performing. Changes nothing.

Instructions

Read how the game in dir/neme.json did over the last 30 days. Changes nothing. Use it when the developer asks how a game is doing; for which build players are on, use neme_versions. Uses the same token as neme_publish, and only the game's own developer can read them. Returns one JSON object of totals: views, visitors, plays, players, playSeconds, shares, playRate (plays per view, 0 to 1), avgPlaySeconds, medianLoadMs, sharedViews, sharedPlays, platformPlays. Fails if the game has never been published.

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

Input Schema

NameRequiredDescriptionDefault
dirNoThe project folder: the one holding neme.json. Absolute, or relative to the folder this server was started in. Default: that folder.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.0
    • changedInput schema / properties / dir / description
      Previous value: -"Folder holding neme.json. Default: the current folder."New value: +"The project folder: the one holding neme.json. Absolute, or relative to the folder this server was started in. Default: that folder."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already declare read-only, idempotent, non-destructive behavior, but the description adds important operational context: access requires the same token as neme_publish, only the game's own developer can read the metrics, and the call fails if the game was never published. It also discloses the returned totals, which is useful given there is no output schema.

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?

The description is front-loaded with purpose and scoping, and the later sentences add useful usage, auth, return, and failure details. The return-field enumeration is dense but justified because no output schema exists; minor redundancy appears in 'Changes nothing,' which largely restates the read-only annotation.

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 single-optional-parameter read tool, the description covers the essential context: what it reads, what it does not change, when to use it versus a sibling, auth requirements, failure mode, and the shape of the returned metrics. Combined with the read-only annotations, this is complete enough for correct invocation.

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 coverage is 100%, and the schema already explains that dir is the project folder holding neme.json, including absolute/relative path and default behavior. The description mentions the file location but does not add parameter semantics beyond what the schema provides, so the baseline of 3 is appropriate.

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 states a specific verb and resource: read how the game did over the last 30 days via dir/neme.json. It also explicitly distinguishes this from neme_versions, so an agent can select the right tool 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 a clear when-to-use condition: when the developer asks how a game is doing. It also names the alternative for a closely related question, directing the agent to neme_versions for build-level player data.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.