Skip to main content
Glama

Check what Users can show

get_users_state
Read-only

Whether the product's usage data is set up and what Users can show yet. setup is the first of: no_loader (this server has no loader release), not_configured (no widget key), key_disabled (every widget key is off), not_seen (the key's script never loaded), counting_off (Count visits is off for that key), no_visits (the script loaded but no visit arrived) or ready. counting_off and no_visits only show while usageAvailable is true. usageAvailable false means this server isn't saving new visits; what it already saved still shows. keyId is the widget key setup is about, and latestLoadedAt is when its script last loaded: a past load, not proof that anything is collected now. meter is today's events and this month's signed-in users against the plan's limits, or null. Reads only what featury already stored, doesn't turn collection on and spends no credits. MANAGER+ required.

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": {
      "workspace": "<workspace>",
      "project": "<project>"
    },
    "name": "get_users_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesProject slug or id
workspaceYesWorkspace slug or id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the readOnly/non-destructive annotations, the description adds real behavioral context: the call spends no credits, does not enable collection, only reads previously stored data, and requires MANAGER+ authorization. These are exactly the facts an agent needs before invoking it, though rate-limit or caching behavior is not mentioned.

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?

Purpose is front-loaded, but the remainder is a dense run-on enumerating six state values in one sentence, mixing return-value semantics, warnings, and auth in a single block. The content is largely substantive, yet the lack of structure (list or line breaks for the states) makes it harder to scan than it needs to be.

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 full burden of explaining return values, and it does: it defines each setup state, usageAvailable, keyId, latestLoadedAt, and meter. Only the overall response shape (how these fields nest) is left implicit, which is a modest gap for a zero-write status 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 coverage is 100% and both required parameters (workspace, project) are already documented in the schema. The description's parameter-like detail (keyId, latestLoadedAt) describes response fields rather than the inputs, so it adds no meaning beyond the schema for the two inputs it actually takes.

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 opening sentence states the resource ('the product's usage data') and what is reported ('whether it is set up and what Users can show'), which distinguishes it from sibling list/get tools. The verb is implicit rather than a clean 'Returns/Checks', and the title 'Check what Users can show' is vaguer than the description, but the intent is still recoverable.

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 implied (call it to learn setup/collection state) and the note that it 'reads only what featury already stored, doesn't turn collection on' suggests it is safe to call at any time. But there is no explicit when-to-use guidance, no scenario framing (e.g. before debugging missing visits), and no named alternatives among the many sibling tools.

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