Skip to main content
Glama

Outil.io

Get newsletter stats

get_newsletter_stats
Read-only

Lire les envois, ouvertures, clics et échecs d’une newsletter.

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": {
      "id": "<id>"
    },
    "name": "get_newsletter_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile needs no restating. The description does add value beyond them by naming the four data families returned (sends, opens, clicks, failures), which is the only hint of shape since there is no output schema. It does not say whether metrics are per-campaign or time-windowed, or how failures are represented.

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?

A single compact sentence with no filler, front-loading the verb and the metric families. It is efficient but so terse that it borders on under-specification rather than being a model of tight 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?

The tool is simple (one required param, no nesting, no output schema), so the burden on the description is modest and the metric listing helps. However, with no output schema and no parameter documentation, the missing identification of the id and of the metric breakdown leaves the definition only marginally complete for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the single required parameter "id" is documented nowhere. The description says only that it reads a newsletter's stats, never clarifying that the id is a newsletter id (as opposed to a workspace, contact, or campaign id), which is the one piece of meaning an agent most needs here.

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 names a specific verb ("Lire") and a specific resource (newsletter stats) and enumerates the metric families returned: envois, ouvertures, clics, échecs. That distinguishes it from the write-side sibling send_newsletter and from unrelated stats tools such as get_page_stats. It stops short of 5 because it never states that the resource is keyed by a newsletter identifier, leaving the object of the lookup slightly ambiguous.

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 when-to-use guidance, no prerequisites, and no mention of any alternative tool. An agent gets no explicit signal that this is the read counterpart to send_newsletter, nor whether it should be used for a single campaign versus an aggregate view. Usage must be inferred entirely from the name.

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.