Skip to main content
Glama

Generate an AI insight

generate_ai_insight
Read-only

Have Milo, Lomen's AI analyst (Claude, by Anthropic), write a short, factual paragraph on how one site's traffic is doing over the last 30 days (pageview trend, visitors, top source, top page), with a confidence level.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_ai_insight"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoWhich site: its domain (for example example.com) or its id from list_sites. Leave it out for the account's first site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Which site: its domain (for example example.com) or its id from list_sites. Leave it out for the account's first site.",
      +  "maxLength": 255,
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds genuinely useful context beyond them: the output is model-generated (Claude, by Anthropic), the analysis window is fixed at 30 days, and the paragraph includes a confidence level. It stops short of noting caveats an AI-generation tool warrants, such as latency, cost, or non-determinism across calls.

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?

One dense sentence that front-loads the action and the analyst identity, then lists the covered metrics. The parenthetical model attribution slightly pads the sentence but earns some trust value; there is no redundant or filler verbiage.

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 read-only, single-optional-parameter tool with no output schema, the description does the important work of describing what comes back (a short factual paragraph plus a confidence level) and how the window is scoped. Missing only secondary operational details like generation latency or whether calls are metered.

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 100% and the single 'site' parameter is fully documented in the schema, including the default behavior when omitted. The description adds only the 30-day analysis window constraint, which is scope rather than parameter meaning, so the baseline 3 applies.

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?

States a specific verb ('write a short, factual paragraph') and a precise resource (an AI-authored summary of one site's 30-day traffic), and enumerates the contents: pageview trend, visitors, top source, top page, plus a confidence level. It doesn't explicitly contrast with data-returning siblings like get_website_overview, so differentiation is implied rather than stated.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for a narrative summary rather than raw metrics. There is no explicit 'use this when' trigger, no when-not guidance, and no named alternative for agents that need structured numbers instead of a paragraph.

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