Skip to main content
Glama

Preparar borrador sin enviar

prepare_question
Read-onlyIdempotent

context_source declara la procedencia de los datos del caso. El servidor admite datos del chat actual o de otro chat confirmados por el usuario para esta consulta. El contexto anterior sin confirmar o de procedencia incierta bloquea la operación y devuelve una petición de aclaración. Prepara un borrador de compras o viajes cuando el usuario solicita redactar o revisar sin publicar. Solo lectura: no crea una consulta ni avisa al equipo. Devuelve display_text con el estado BORRADOR · SIN ENVIAR y suggested_actions, incluida la opción Enviar consulta. La publicación es una operación distinta mediante create_question.

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": {
      "category": "<category>",
      "title": "<title>",
      "body": "<body>",
      "context_source": "<context_source>"
    },
    "name": "prepare_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
titleYes
categoryYes
context_sourceYesOrigen de TODOS los datos específicos del caso. current_chat: aportados en este chat o investigados para esta petición, sin detalles arrastrados de memoria. previous_chat_confirmed: datos de otro chat que la persona ha confirmado para este caso. previous_chat_unconfirmed: memoria u otro chat aún sin confirmar. uncertain: procedencia dudosa. No reclasifiques recuerdos como actuales por haberlos repetido tú en el chat.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations it discloses concrete behavior: the call never creates a query or notifies the team, unconfirmed provenance blocks the operation and yields a clarification request, and the response carries display_text with the 'BORRADOR · SIN ENVIAR' state plus suggested_actions including 'Enviar consulta'. That is meaningful operational context the annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every sentence is substantive, but the structure is inverted: two sentences about the context_source parameter precede the sentence that says what the tool actually does, so the core purpose is buried in the middle. Front-loading the drafting purpose ahead of the provenance rules would serve the agent better.

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 four required params, no output schema and annotations covering the safety profile, the description supplies the missing return shape (display_text, suggested_actions) and the blocking/refusal path. Only minor gaps remain, such as no guidance on the title/body content expectations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 25% (solely context_source), so the description must carry weight. It does for the hardest parameter, adding the operational consequence of previous_chat_unconfirmed/uncertain (blocking plus clarification), though it partly echoes the schema's own wording; title and body get no mention of their length or content limits, and category is only implied by 'borrador de compras o viajes'.

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 verb and artifact ('Prepara un borrador de compras o viajes') and explicitly scopes it against a named sibling: publication is 'una operación distinta mediante create_question'. An agent can separate this from create_question without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ('cuando el usuario solicita redactar o revisar sin publicar'), an explicit negative case ('no crea una consulta ni avisa al equipo'), the alternative for publishing (create_question), and a precondition that blocks the call (unconfirmed or uncertain context returns a clarification request).

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