Skip to main content
Glama

Crea un embudo

create_funnel

Crea un embudo. De 1 a 6 pasos; cada paso es un evento (event) o una ruta (path, admite * al final). Respeta el límite de embudos del plan. Con clave env: test se valida y se simula (dry_run: true).

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": {
      "id": "<id>",
      "name": "<name>",
      "steps": "<steps>"
    },
    "name": "create_funnel"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId de la web (campo `id` de `/v1/sites`).
nameYesNombre, hasta 80 caracteres.
stepsYesPasos en orden, de 1 a 6.
isDefaultNoMarcarlo como embudo por defecto del panel.
idempotency_keyNoOpcional. Un reintento con el mismo valor devuelve la misma respuesta sin repetir la escritura.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent write. The description adds real behavioral context beyond them: the plan-limit guard and the `env: test` mode that validates and simulates instead of writing. It does not explain what a successful write returns or whether the funnel becomes visible immediately.

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?

Four short sentences with the core action and step constraint front-loaded; little waste. The final sentence about `env: test` / `dry_run` is dense and slightly cryptic in an otherwise clean flow.

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 create tool with no output schema and fully described parameters, the definition covers the essentials: what is created, step shape and bounds, plan limits, and a test mode. Gaps are minor — return shape and the interplay with `idempotency_key` are left to the schema.

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 the schema already documents `id`, `name`, `steps`, `isDefault`, and `idempotency_key`. The description reinforces the step semantics (1-6, event/path, trailing `*`) but introduces a `dry_run: true` notion that has no corresponding schema property, which is mildly confusing rather than clarifying.

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?

Opens with a specific verb+resource ("Crea un embudo") and immediately qualifies it with the step model (event vs path). The action is unambiguous against siblings such as get_funnels, list_funnels, and delete_funnel, though no sibling is named explicitly.

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?

Implied usage is clear (this is the creation path for funnels), and the description adds two useful constraints: the plan's funnel limit and the `env: test` validation/simulation mode. It does not state when to prefer this over, e.g., list_funnels to check existing funnels or how to handle hitting the plan limit.

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