Skip to main content
Glama

get_example_source

Return the full .svelte source of one demo by id (e.g. "11-stock-market") - working code to copy, not a summary of it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDemo id, e.g. "11-stock-market".

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It tells the agent the tool returns the complete source file rather than a summary, and frames it as copyable working code; 'Return' signals a read operation. It doesn't mention error cases, but for a simple getter this is adequate.

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?

One sentence front-loads the action and object, gives a concrete example, and appends a clarifying contrast ('not a summary'). Every phrase earns its place with no redundant filler.

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 a single-argument read tool with no output schema, the description tells the agent what it will receive (full .svelte source) and how to target a demo. It could additionally mention what happens for unknown ids, but overall the definition is complete enough for correct invocation.

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?

The schema already describes the single 'id' parameter at 100% coverage, including the same example. The description adds no new parameter-level detail beyond repeating the id/keyed-by-id concept, so 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?

The description uses a specific verb ('Return') and identifies the exact resource: the full '.svelte' source for one demo, keyed by id. It even gives a concrete example and clarifies that it is not a summary, which distinguishes it from generic fetch/list/search 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 clearly states the context for calling this tool: you need the full source code of a specific demo by id. It doesn't name alternatives like list_examples or search, but 'one demo by id' and 'not a summary' provide enough scope guidance for selection.

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.

TDQS

A4/5.0
Disambiguation4/5

The search→fetch and list_examples→get_example_source pairs form clear workflows, and check_svgrid_code is distinct. The only real ambiguity is that fetch also accepts a demo id, which overlaps somewhat with get_example_source, though fetch returns page text rather than .svelte source.

Naming Consistency4/5

Most tools follow a descriptive verb_noun pattern: get_api_reference, get_example_source, list_examples, check_svgrid_code. The bare verbs search and fetch are minor deviations, but the names remain predictable and easy to distinguish.

Tool Count5/5

Six tools is a tight, well-scoped set for a documentation-and-code-support server. Each tool earns its place and together they cover discover, read, reference, example, and verify workflows without redundancy.

Completeness5/5

The tool surface covers the full assistant loop: search documentation, fetch doc content, read the API reference, browse and copy demo source, and validate code against the real SvGrid API. There is no obvious missing operation that would create a dead end for an agent.