Skip to main content
Glama

Read a charm's source

get_app_source
Read-only

Return the full single-file HTML of a hosted charm, to learn from it or to remix it. Charms published from a React component also return the original source as react.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe app slug.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuine value by disclosing the return shape — full HTML plus an optional `react` field for React-published charms — which somewhat substitutes for the absent output schema. It says nothing about size limits, missing-slug errors, or auth requirements.

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, zero filler, with the primary purpose front-loaded and the special-case return (React source) trailing. Every sentence earns its place.

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?

With no output schema, the description carries the return-value burden and does so for the common and React cases. It is nearly complete for such a simple read tool, missing only failure behavior and any size/truncation caveats.

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?

Single parameter with 100% schema description coverage, so the schema already documents `slug`. The description adds no syntax, format, or resolution detail beyond it; baseline 3 applies.

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?

States a specific verb ('Return') and resource ('full single-file HTML of a hosted charm') with a scope qualifier ('single-file') that separates it from a metadata fetch like get_app. The agent can tell what it gets without opening the schema.

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?

The clause 'to learn from it or to remix it' gives the intended use cases, which is more than nothing, but it never names an alternative (e.g., get_app for metadata, remix_app for forking) or states when this tool is the wrong choice. Usage is implied rather than prescribed.

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.