Skip to main content
Glama

Edita una web

update_site

Edita una web. Parcial: zona horaria, rutas excluidas, parámetros permitidos, retención (≤ la del plan), alertas de tráfico, umbral geográfico y zonas. Con clave env: test se valida cada campo enviado y se devuelve un eco sin persistir (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": "update_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId de la web (campo `id` de `/v1/sites`).
domainNoNuevo dominio, por ejemplo ejemplo.com.
geoZonesNoLista COMPLETA de zonas de ciudades (sustituye a la actual); sin id = zona nueva.
timezoneNoZona horaria IANA, por ejemplo Europe/Madrid.
geoMinVisitsNoVisitas mínimas para mostrar una región o ciudad por separado.
excludedPathsNoLista COMPLETA de rutas excluidas (sustituye a la actual), por ejemplo ["/admin", "/blog/*"].
trafficAlertsNoAlertas de tráfico por email (caída, pico, sin datos) a owner y admins.
allowSubdomainsNoContar también los subdominios.
idempotency_keyNoOpcional. Un reintento con el mismo valor devuelve la misma respuesta sin repetir la escritura.
retentionMonthsNoMeses de historial (≤ lo que permite el plan); null = lo que permita el plan.
allowedQueryParamsNoLista COMPLETA de parámetros de query permitidos (sustituye a la actual).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false. The description adds real value beyond that with the retention capped at the plan limit and the `env: test` mode that validates fields and returns an echo without persisting — useful for safe trial calls. However, it does not disclose that list fields are full replacements that overwrite existing values (only the schema says this), which matters given destructiveHint=false.

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?

Two tight sentences, front-loaded with purpose and then the partial-field scope, with the test-mode caveat last where an agent will look for safety behavior. The field enumeration partially duplicates the schema, but it earns its place as a quick scope summary.

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 an 11-parameter mutation with no output schema and full annotation coverage, the description supplies the essential extras: partial-update semantics, the retention plan constraint and a non-persisting test mode. Gaps remain around the response shape on success and the fact that omitted fields stay untouched, but nothing critical to calling it correctly is missing.

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 100%, so every parameter including idempotency_key, the enums and the replacement-list semantics is already documented. The description groups the editable fields and adds the plan cap on retention, but omits several parameters and adds no syntax or format detail, so it stays at the baseline for a fully documented 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 verb and resource ('Edita una web') and adds the key qualifier 'Parcial', so an agent can tell it apart from create_site. The enumerated field list is not exhaustive (domain and allowSubdomains are editable in the schema but omitted), which slightly muddies the scope but does not obscure the core purpose.

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: it is a partial edit of an existing site, and the required `id` anchors it to a known site. There is no explicit when-to-use vs create_site, no statement of what happens to fields not supplied, and no mention of permission prerequisites, so the agent must infer the boundaries.

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