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.

Stats trend

stats_trend
Read-onlyIdempotent

Response volume over time for a project, bucketed by day or week and split by signal (positive/negative/neutral). Use for trend / volume-over-time questions, then feed the points into generate_chart (line) for a visual.

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

Input Schema

NameRequiredDescriptionDefault
sinceNoISO date lower bound, or null.
untilNoISO date upper bound, or null.
projectIdYes
granularityNoBucket size (default 'week').
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
pointsNo
granularityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 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 / error / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / error / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / granularity / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / granularity / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / points / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "date": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "negative": {
      -          "anyOf": [
      -            {
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "neutral": {
      -          "anyOf": [
      -            {
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "other": {
      -          "anyOf": [
      -            {
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "positive": {
      -          "anyOf": [
      -            {
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "total": {
      -          "anyOf": [
      -            {
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "date": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "negative": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "neutral": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "other": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "positive": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "total": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds the downstream charting workflow but omits behavioral notes that matter here — notably the low-quality exclusion default and the 'week' default granularity, both of which live only in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with what the tool returns, followed by the use case and next step. No redundant phrasing and nothing buried.

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 structure need not be described, and annotations carry the safety profile; what remains — purpose, query class, and follow-on tool — is present. The only gap is comparative guidance against other stats/breakdown siblings.

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 80%, so the baseline is 3. The description echoes the granularity ('day or week') and signal split already documented in the schema, but adds no format or edge-case detail for since/until boundaries or the includeLowQuality gate.

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?

States a specific verb and resource ('response volume over time for a project') plus the two axes that define the output ('bucketed by day or week', 'split by signal (positive/negative/neutral)'). That level of scoping separates it from volume/breakdown siblings like project_stats, channel_breakdown, and question_breakdown without needing to name them.

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?

Explicitly names the query class it serves ('trend / volume-over-time questions') and gives a concrete follow-up ('feed the points into generate_chart (line)'), which is a real routing decision. It stops short of exclusions — nothing says when to prefer project_stats or channel_breakdown instead.

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