Skip to main content
Glama

Coop

Vista previa

vista_previa

Enlace para ver la web del proyecto en el navegador. Sirve index.html de dist/, build/, out/, public/, web/ o la raíz (o de la carpeta que indiques).

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": {
      "codigo": "<codigo>"
    },
    "name": "vista_previa"
  }
}

Input Schema

NameRequiredDescriptionDefault
codigoYesCódigo de Coop de la plaza (el que te dio el usuario, p. ej. coop-abc123…). Pásalo en TODAS las llamadas.
carpetaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the directory resolution order (dist/, build/, out/, public/, web/, root, or a supplied folder), which is real behavioral detail beyond the schema. However it says nothing about whether a server is started or reused, on what port, whether the preview persists, or what happens when index.html is not found.

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 sentences, front-loaded with the outcome before the directory details. No filler. It could be tightened slightly by folding the fallback list into a more scannable form, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter tool with no annotations and no output schema, the description covers the resource and the folder fallback but leaves the agent guessing about the return value shape (URL string? port number?), lifecycle of the preview, and error behavior when no index.html exists. Adequate but with clear gaps for a server-starting tool.

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 50%: codigo is fully documented in the schema, while carpeta has no schema description. The phrase '(o de la carpeta que indiques)' gives carpeta meaning as the folder to serve from, partially compensating for the gap, but it does not clarify path format, relative vs absolute, or precedence against the default candidates.

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 concrete outcome: a link to view the project's website in the browser, and explains that it serves index.html from a set of candidate directories. This clearly separates it from file-reading siblings like ver_archivo or ver_ficheros, though it never names an alternative 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?

Usage is only implied: an agent can infer it should call this when the user wants to see the running site rather than read source files. There is no explicit when-to-use, when-not-to-use, or named alternative, and no mention of prerequisites such as the project needing to be built first.

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