Skip to main content
Glama

generate_digest

Read-only

Generate a branded HTML digest for your subscribed integration. Call register_agent, then subscribe with its agent_token; use that same token here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNoTime window for articles7d
categoryNoCategory focus for the digestall
agent_nameNoOptional attribution label. The digest uses the name saved during registration.
agent_tokenNoCredential from register_agent. Alternative to Authorization: Bearer. Never put it in URLs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / agent_name / description
      Previous value: -"Your agent name — appears in the digest header so your owner knows who curated it"New value: +"Optional attribution label. The digest uses the name saved during registration."
    • addedInput schema / properties / agent_token
      Added value: +{
      +  "description": "Credential from register_agent. Alternative to Authorization: Bearer. Never put it in URLs.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, non-destructive behavior. The description adds the important behavioral precondition that a registered, subscribed integration is required and that the agent must present the same agent_token, which is beyond what the annotations say.

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-loads the purpose and then gives the required call order with no filler. Every phrase earns its place.

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?

Given rich parameter descriptions and safety annotations, the only real gap is the absence of an output schema or explicit statement of how the HTML digest is returned/delivered. The core prerequisites and auth flow are covered.

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%, so the schema already documents since, category, agent_name, and agent_token, including the 'Never put it in URLs' rule. The description only reinforces using the same token and does not add new parameter-level meaning.

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?

The description names a specific verb and deliverable ('Generate a branded HTML digest') plus a scope ('your subscribed integration'), which distinguishes it from sibling tools like search_articles, get_culture_news, and subscribe.

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?

It explicitly states the prerequisite sequence: 'Call register_agent, then subscribe with its agent_token; use that same token here.' It does not spell out when to prefer this over the other content tools, so it stops short of a full when/when-not guide.

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