Skip to main content
Glama

Get Source Usage Time Series Tool

get-source-usage-time-series-tool
Read-onlyIdempotent

For each top source, the percentage of analyzed responses in the bucket that cited any URL from that source. Capped to the top top_n sources (default 20, max 50).

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>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get-source-usage-time-series-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoTag IDs (prompt classifiers) to limit responses by. Optional.
top_nNoCap on series count (default 20, max 50).
end_dateYesInclusive UTC end of the analytics window. Must be on or after `start_date` and on or before today.
intervalNoBucket granularity for time-series tools. One of: day, week, month, year. Required for time-series tools, ignored for aggregate tools.
monitorsNoMonitor IDs in the active project. Optional.
countriesNoISO-3166-1 alpha-2 country codes to include. Optional.
platformsNoAI platforms to include. Optional. Values: chatgpt, perplexity, gemini, grok, copilot, claude, google_ai_mode, google_ai_overview.
project_idYesProject to compute analytics for.
start_dateYesInclusive UTC start of the analytics window. ISO 8601 date (YYYY-MM-DD).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral detail about capping results to top_n sources and its default/max values, but does not describe pagination, output shape, or authorization requirements.

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 definition is two focused sentences with the metric definition front-loaded and the top_n cap stated immediately afterward. There is little waste, though the first sentence is dense and could be slightly clearer about the time-series return structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nine-parameter time-series analytics tool with no output schema, the description explains the computed metric and top_n capping but omits return shape, interval behavior, and guidance relative to closely related source analytics tools. The high schema coverage compensates for parameter documentation, but the definition remains minimally complete.

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 100%, so all nine parameters are already documented in the schema. The description reinforces top_n behavior but does not add meaning beyond the schema for interval, date bounds, or filter parameters; baseline 3 is appropriate.

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 description defines a specific metric: for each top source, the percentage of analyzed responses in each bucket citing any URL from that source. This is clear enough to distinguish it from aggregate or per-URL tools, but it does not explicitly name or contrast with the sibling get-source-url-usage-time-series-tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to use this tool versus alternatives such as get-source-url-usage-time-series-tool or get-source-type-analytics-tool. The intended analytics context is implied by the metric definition, but no exclusions or selection criteria are provided.

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