Skip to main content
Glama

Auto-Optimize history

article__optimize_log
Read-onlyIdempotent

The Auto-Optimize / publish history for an article: before and after score, before and after length, and the run metadata (mode, phase, rejection reason). Use this when Auto-Optimize appears to change nothing.

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": {
      "article_id": "<article_id>"
    },
    "name": "article__optimize_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows, 1-100 (default 10).
offsetNoRows to skip (default 0). Keep paging while has_more is true.
article_idYes

Output Schema

NameRequiredDescriptionDefault
runsYes
has_moreYes
article_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description adds that run metadata includes mode, phase and rejection reason, but says nothing about ordering, retention window, or what an empty history implies, which is the behavior that actually matters when debugging a no-op.

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?

Two sentences with zero waste: the payload is listed first, then the use case. Every clause carries information an agent would not otherwise have.

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?

With an output schema present and full annotation coverage, the description needn't explain return values, and it supplies a concrete debugging trigger plus the field inventory. The remaining gap is the relationship to sibling job/score tools, which matters for a read-only diagnostic surface in a crowded sibling set.

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 description coverage is 67%: limit and offset are documented with defaults and paging guidance ('keep paging while has_more is true'). The required article_id has no schema description, and the description only implies it via 'for an article,' adding no format or scope detail beyond the schema.

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 resource — the Auto-Optimize/publish history for an article — and enumerates the recorded fields (before/after score and length, run metadata). It doesn't differentiate itself from the closest sibling, article__jobs, so an agent can't be fully certain which one to open for run state.

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?

Gives an explicit trigger condition: 'Use this when Auto-Optimize appears to change nothing,' which is a genuine diagnostic scenario rather than a restatement of the name. It names no alternatives (article__jobs, article__score) and no when-not case, so it stops short of full routing guidance.

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