Skip to main content
Glama

A2UI Atomic Catalog

wasm_spike

Read-only

Diagnostic (MCP Apps hosts only): mounts a view that instantiates a tiny hand-assembled WebAssembly module, computes per-frame state in it, renders to canvas, and captures arrow-key input -- the same three ingredients a WASM game port would need. Answers whether THIS host permits WASM execution inside a ui:// View iframe; it proves nothing about any other host or sandbox.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wasm_spike"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
atYesWhere the spike ran from.
spikeYesAlways "wasm".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "at": {
      +      "description": "Where the spike ran from.",
      +      "type": "string"
      +    },
      +    "spike": {
      +      "description": "Always \"wasm\".",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "spike",
      +    "at"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description adds the actual mechanism (view mount, WASM instantiation, canvas render, key capture) and its evidentiary limits. The one behavior it leaves implicit is whether the caller or a human must supply the arrow-key input for the spike to complete.

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

Conciseness5/5

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

Two sentences, front-loaded with the diagnostic framing and host restriction before the mechanics. The 'three ingredients a WASM game port would need' clause earns its place by explaining why these specific probes were chosen.

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?

An output schema exists, so return values need not be described, and with zero parameters the description carries the full remaining burden, which it mostly does: purpose, host restriction, and scope disclaimer. Minor gap is what the calling agent should expect to do during the run given the interactive input capture.

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?

The tool takes zero parameters, so there is no parameter meaning to add and the baseline of 4 applies. The description correctly spends no space on arguments and instead explains the operation.

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?

Names a specific verb and artifact: it mounts a view that instantiates a hand-assembled WebAssembly module, drives per-frame state, renders to canvas, and captures arrow-key input. It also states the question it answers (does THIS host permit WASM in a ui:// View iframe), which separates it from generic render/ping diagnostics like render_ping.

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 a clear condition for use (diagnostic, MCP Apps hosts only) and a clear scope boundary: it proves nothing about any other host or sandbox. It stops short of naming alternatives or saying when not to reach for it, so guidance is strong but not complete.

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.