Skip to main content
Glama

AdsAgent — TikTok Ads MCP

Read cached insight date range

insights_get_date_range
Read-only

Returns the min/max stat_date present in cache for the authenticated tenant. Use to bound query_overview windows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connection_contextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  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=true and openWorldHint=false, so the agent knows this is a safe, closed read. The description adds that the result is tenant-scoped and reads from cache, which is useful. It doesn't say what happens on an empty cache, which would matter for bounding windows.

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?

Two short sentences, front-loaded with what is returned and followed by the intended use. Nothing is wasted.

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?

For a trivial no-required-param read with annotations covering safety, the description is nearly complete: it says what is returned, scoped to the tenant, and why. Missing only empty-cache behavior, which is a minor gap.

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 0% and the single parameter connection_context is undocumented in both schema and description. With one optional param and no facts to add, the description says nothing about it; a 3 reflects that no compensating meaning is provided but the param is likely internal plumbing.

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 (returns) and resource (min/max stat_date in cache) for a scoped tenant. Clearly distinguishes itself from insights_query_overview, which it references as the consumer.

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 says to use it to bound query_overview windows, giving clear context. Does not name exclusions or alternatives beyond that, so it falls short of a 5.

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