Skip to main content
Glama

Read a room app's code

huddo_app_code
Read-only

Return HTML code from a room app. Give app for the whole source of that app (room-page is the room's home). Give msgid for the code of each part of an app that the message quotes. The code is as the app showed it when a person quoted it.

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": "huddo_app_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoRoom app id, from huddo_app_list. Give app or msgid
roomNoroomId or index from huddo_list, for this call only (default: the default room)
msgidNoMessage id (msg_...) with quotes. Give app or msgid

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the bar is low, and the description adds real behavior: the return is HTML and the content is a historical snapshot captured at quote time ('The code is as the app showed it when a person quoted it'). It does not say what happens when neither app nor msgid is supplied, despite both being optional, so the default path is undisclosed.

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?

Purpose is front-loaded in the first sentence, and the following sentences each carry distinct information about the two addressing modes and the snapshot nature of the output. Phrasing is slightly clipped and awkward ('Give app for the whole source of that app'), but nothing is redundant.

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 three-optional-parameter, annotation-covered read tool with no output schema, most of what an agent needs is present. The remaining gap is the zero-argument case and whether app and msgid are mutually exclusive, which the description leaves implicit.

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 baseline is 3, and the schema already documents each parameter including cross-references to huddo_app_list and huddo_list. The description does add meaning about what each parameter yields (full source vs. per-quoted-part code) and notes room-page is the room's home, but adds no format or precedence detail beyond that baseline.

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?

The description names a specific verb and resource (return HTML code from a room app) and clarifies the two addressing modes: whole-app source via 'app', quoted-part source via 'msgid'. It is clearly distinct from huddo_app_list/huddo_app_state/huddo_app_submit by being a read of source, though it never explicitly contrasts itself with those siblings.

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?

It gives concrete selection guidance for the two main parameters ('Give app for the whole source', 'Give msgid for the code of each part of an app that the message quotes'), which tells an agent which case to pick. It stops short of any when-not guidance or explicit alternatives for fetching live state instead of quoted source.

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.