Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as TheySaid. If you published it, claim ownership there.

Project stats

project_stats
Read-onlyIdempotent

Quantitative metrics for ONE project: total responses, risk (negative) and growth (positive) signals, unread responses, average conversation depth, first/last response dates, and a per-channel breakdown (count + median completion). Use this for "how is project X doing" / health questions. Dates are UTC; the *Local fields are in the user timezone (UTC when unknown). Optional since/until ISO dates and includeLowQuality select the responses every metric is computed from.

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>"
    },
    "name": "project_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoISO date — only count responses on/after this, or null.
untilNoISO date — only count responses on/before this, or null.
projectIdYesThe project id (resolve via list_projects if unsure).
includeLowQualityNoLow-quality (archived) responses are excluded by default. Set true ONLY when the user explicitly asks to include low-quality/archived responses.

Output Schema

NameRequiredDescriptionDefault
errorNo
channelsNo
riskSignalsNo
growthSignalsNo
totalResponsesNo
avgMessageDepthNo
unreadResponsesNo
lastResponseDateNo
firstResponseDateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed23 schema fields changed
    • removedInput schema / properties / includeLowQuality / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / includeLowQuality / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / since / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / since / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / until / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / until / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / avgMessageDepth / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / avgMessageDepth / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / channels / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "channel": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "count": {
      -          "anyOf": [
      -            {
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "median": {
      -          "anyOf": [
      -            {
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "channel": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "count": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "median": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / error / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / error / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / firstResponseDate / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / firstResponseDate / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / growthSignals / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / growthSignals / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / lastResponseDate / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / lastResponseDate / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / riskSignals / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / riskSignals / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / totalResponses / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / totalResponses / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / unreadResponses / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / unreadResponses / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, closed-world and non-destructive behavior, so the safety profile needs no restating. The description adds real context beyond that: dates are UTC, *Local fields use the user's timezone (UTC when unknown), and every metric is computed from the since/until/includeLowQuality-filtered set.

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?

Three sentences, front-loaded with scope and output contents before timezone and filter semantics. The metric enumeration is long but each item conveys what the agent will receive; no filler sentences are present.

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?

An output schema exists, so return values need no prose explanation, and the description still covers scope, filter effects, and timezone handling. What remains unstated is how this tool relates to the trend/comparison siblings, which would matter for a stats tool with many neighbors.

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?

Schema coverage is 100%, so baseline is 3, but the description goes further by explaining that the optional since/until ISO dates and includeLowQuality jointly select the response population that all metrics derive from. That cross-parameter semantics is not obvious from the individual property descriptions.

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 names a specific resource and enumerates exactly what is returned: total responses, risk/growth signals, unread counts, average depth, first/last dates, and a per-channel breakdown. The emphasized 'ONE project' scope plus the health-question framing separates it from aggregate siblings such as cross_project_comparison and stats_trend.

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?

It gives an explicit use case ("how is project X doing" / health questions), which is stronger than implied guidance. It does not name a when-not condition or point to a specific alternative for trend or comparison needs, so the agent must infer that routing.

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