Skip to main content
Glama

Attempt history for a queued post

get_publish_attempts
Read-onlyIdempotent

Every publish attempt for one queue row with its time and result — read this to explain a failure before retrying.

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": {
      "queue_id": "<queue_id>"
    },
    "name": "get_publish_attempts"
  }
}

Input Schema

NameRequiredDescriptionDefault
queue_idYesThe publish queue row id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

The readOnlyHint and idempotentHint annotations already convey the safety profile, so the description only needs to add non-obvious behavior. It does add that the result is per-attempt and includes time and outcome, which is useful, but says nothing about ordering, limits/retention of old attempts, or how many records come back.

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 front-loaded sentence that names the returned data first and the use case second. No filler, no restatement of the tool name.

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 single-parameter read tool with no output schema, the description adequately covers what comes back (attempts with time and result) and why an agent would call it. The remaining omission is practical scope details such as attempt ordering or history depth, which is a minor gap given the tool's simplicity.

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?

With a single parameter at 100% schema description coverage, the schema already defines queue_id as the publish queue row id. The phrase "one queue row" reinforces the cardinality but adds no new format, sourcing, or lookup guidance beyond what the schema states.

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 resource with scope: every publish attempt for one queue row, plus the fields returned (time and result). This clearly separates it from queue-listing tools like list_publish_queue and from run_publish_queue, which triggers attempts rather than reporting them.

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?

"Read this to explain a failure before retrying" gives a concrete trigger condition that ties the tool to a diagnostic workflow preceding a retry. It stops short of naming an explicit alternative to use when the failure is already understood, so it is clear context without full routing.

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