Skip to main content
Glama

Resend to messenger

resend_integration_logs

Sends to the messenger what did not go through. Useful once the cause is fixed: the bot is back in the group, the token was reissued — otherwise the piled-up items just stay in the log. You can retry one entry by log_id or every failed one over a period. Sending goes through a queue, so the answer says how many were queued; whether they arrived is shown by get_integration_logs.

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": {
      "quiz_id": "<quiz_id>",
      "integration": "<integration>"
    },
    "name": "resend_integration_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
log_idNoID of one entry from get_integration_logs. Without it every failed entry is retried.
date_toNoEnd of the period for a bulk retry, in YYYY-MM-DD format.
quiz_idYesQuiz ID.
date_fromNoStart of the period for a bulk retry, in YYYY-MM-DD format.
integrationYesWhere to resend: telegram.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

It discloses the most important non-obvious behavior: sending is asynchronous through a queue, so the answer only reports how many entries were queued, and actual delivery must be confirmed with get_integration_logs. That is exactly the kind of context the annotations cannot convey. It does not warn about duplicate sends when retrying, even though idempotentHint is false.

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?

Three sentences, front-loaded with the action, then the precondition, then the queue caveat. Nothing is wasted, although the phrasing 'what did not go through' and 'piled-up items' is informal and slightly less precise than it could be.

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?

There is no output schema, and the description fills that gap well: it says the response reports a queued count and points to get_integration_logs for delivery confirmation. It covers both the single-retry and bulk-retry modes. It stops short of describing what happens if individual queued items fail again.

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 parameters are already documented, including the fact that omitting log_id retries every failed entry. The description restates the single-versus-bulk retry split and the period scoping, which confirms the two modes but adds no syntax or format detail beyond what the schema provides. A baseline score of 3 is correct.

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 states a concrete action on a concrete resource: re-sending previously failed integration log entries to the messenger. It implicitly separates itself from the read-oriented sibling get_integration_logs, which it names only as a verification step, but it never explicitly distinguishes itself from resend_quiz_email_log or resend_quiz_webhook_log, which an agent could easily confuse with it.

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 gives a clear precondition for use ('useful once the cause is fixed: the bot is back in the group, the token was reissued') and explains why retrying too early is pointless, because otherwise the entries just stay in the log. It also explains the choice between a single retry and a bulk retry. It still lacks an explicit statement of when not to use it, and it names no alternatives.

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.