Skip to main content
Glama

El plan de una tarea

plan_task
Idempotent

Guarda en la tarea el plan que has propuesto (steps: de 3 a 7 pasos concretos, cada uno algo que tú puedes hacer) o lo aprueba (approve: true, SOLO después de que el usuario haya visto el plan entero y diga que sí; si lo aprobó desde la web, ya consta). Un plan nuevo sustituye al anterior y vuelve a pedir su sí.

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": {
      "project": "<project>",
      "task": "<task>"
    },
    "name": "plan_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesLa tarea (t1, t2…).
stepsNoLos pasos, cada uno una frase que empiece por un verbo (máx. 10).
approveNotrue solo con el sí del usuario.
projectYesEl proyecto (p1, p2…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the write/idempotent/non-destructive profile, and the description adds real behavioral context beyond them: a new plan replaces the previous one and invalidates prior approval, and web-side approvals are pre-recorded so re-approval is unnecessary. It does not describe the response or what happens to the task state after approval, keeping it short of a 5.

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?

A single dense sentence with parenthetical clarifications, front-loaded with the action and followed by the conditional rules. Nothing is wasted, though the nested parentheses around steps and approve make it slightly harder to scan than a two-sentence split would 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?

For a 4-parameter mutation tool with annotations and no output schema, the description covers the two operating modes, input bounds, overwrite semantics and the approval precondition. The main residual gap is that it never states whether steps must accompany an approval call or what the caller gets back.

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 100%, so the baseline is 3; the description still adds meaning by tightening steps to 3-7 concrete self-executable actions and by defining approve as contingent on explicit user consent rather than a plain boolean flag. The 3-7 range sits alongside the schema's 'máx. 10', which could momentarily confuse an agent about the true upper bound.

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 resource ('Guarda en la tarea el plan') and splits the tool into two clearly named modes: saving proposed steps vs. approving with approve: true. An agent can tell immediately what the tool does without opening the schema.

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 explicit conditions for the risky mode: approve: true SOLO después de que el usuario haya visto el plan entero y diga que sí, plus the edge case that a web approval already counts. It also bounds the steps input (3 to 7 concrete steps you can do). It does not compare against siblings like next_task or task_progress, so the when-not guidance is partial.

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.