Skip to main content
Glama

estimate_article

Read-onlyIdempotent

Créditos estimados y máximos de generar un artículo con una longitud y modelos concretos. No reserva ni gasta créditos.

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": {
      "blogId": "<blogId>"
    },
    "name": "estimate_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
faqNoAñadir preguntas frecuentes al final del artículo.
blogIdYesId del blog (de list_blogs).
lengthNoLongitud: short, medium (por defecto) o long. Más largo cuesta más créditos.
webSearchNoInvestigar en la web antes de escribir (más créditos; no en Free).
textModelIdNoId del modelo de texto (de list_ai_models); null o sin él, el del blog.
imageModelIdNoId del modelo de portada (de list_ai_models), "none" sin portada; null o sin él, el del blog.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / blogId / description
      Added value: +"Id del blog (de list_blogs)."
    • addedInput schema / properties / faq / description
      Added value: +"Añadir preguntas frecuentes al final del artículo."
    • addedInput schema / properties / imageModelId / description
      Added value: +"Id del modelo de portada (de list_ai_models), \"none\" sin portada; null o sin él, el del blog."
    • addedInput schema / properties / length / description
      Added value: +"Longitud: short, medium (por defecto) o long. Más largo cuesta más créditos."
    • addedInput schema / properties / textModelId / description
      Added value: +"Id del modelo de texto (de list_ai_models); null o sin él, el del blog."
    • addedInput schema / properties / webSearch / description
      Added value: +"Investigar en la web antes de escribir (más créditos; no en Free)."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, and the description adds the meaningful corroborating detail that it neither reserves nor spends credits. It also discloses what the call returns in behavioral terms (estimated and maximum cost), which no output schema provides. It does not cover failure modes such as invalid blogId.

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 short sentences with zero padding. The core purpose is front-loaded, and the no-cost guarantee, the most decision-relevant fact, follows immediately.

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 estimation tool with full schema coverage, the description covers purpose, cost behaviour and the nature of the return values. Minor gaps remain around whether the estimate is exact and how model selection interacts with blog defaults, but the essentials for correct invocation are present.

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 all six parameters are already documented, including the length enum and the model id sources. The description only restates that length and models affect the estimate, which the schema's own field descriptions also state ('Más largo cuesta más créditos'). 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 and resource: estimating the estimated and maximum credits for generating an article with a given length and models. The second sentence ('No reserva ni gasta créditos') separates it from the actual generation tool, so an agent can tell it is a costing call rather than an action. It stops short of naming generate_article as the sibling it complements.

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: the agent must infer this should be called before generate_article to preview cost. The description does clarify the critical constraint that it spends nothing, but gives no explicit when-to-use or when-not-to-use routing against generate_article.

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