Skip to main content
Glama

build_get_examples

Read-only

Returns a complete reference app (schemas.py, config.py, setup.py, ui/app.js) for an archetype. archetype='index' (default) lists the archetypes with file sizes: commerce-storefront, commerce-marketplace, service-booking, ops-dashboard, multitenant-portal, saas-billing, events. Optional file= returns one file. Useful as a pattern source for structure, landing page and schemas when authoring a similar app. Responses are paged (~32KB): more:true continues at offset=<next_offset>.

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

Input Schema

NameRequiredDescriptionDefault
fileNoOptional: return only this one file instead of the whole bundle.
offsetNoByte offset to start from (for paging; default 0).
archetypeNoWhich reference app (default 'index' to list them).
max_bytesNoMax bytes to return per section (default ~32000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / archetype / enum
      Previous value: -[
      -  "index",
      -  "commerce-storefront",
      -  "commerce-marketplace",
      -  "service-booking",
      -  "ops-dashboard",
      -  "multitenant-portal",
      -  "saas-billing"
      -]New value: +[
      +  "index",
      +  "commerce-marketplace",
      +  "commerce-storefront",
      +  "service-booking",
      +  "ops-dashboard",
      +  "multitenant-portal",
      +  "saas-billing",
      +  "events"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / archetype / enum
      Previous value: -[
      -  "index",
      -  "commerce-marketplace",
      -  "service-booking",
      -  "ops-dashboard",
      -  "multitenant-portal",
      -  "saas-billing"
      -]New value: +[
      +  "index",
      +  "commerce-storefront",
      +  "commerce-marketplace",
      +  "service-booking",
      +  "ops-dashboard",
      +  "multitenant-portal",
      +  "saas-billing"
      +]
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds genuinely useful non-annotated behavior: responses are paged at ~32KB and 'more:true continues at offset=<next_offset>'. It says nothing about error handling or what happens with an invalid archetype/file combination, so this is solid but not rich.

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?

It is front-loaded with the purpose, then the archetype list, the optional file filter, the use case, and the paging note in a logical order. The inline archetype enumeration is long but functional; there is little filler.

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

Completeness5/5

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

With readOnly annotations, no output schema, and full schema coverage on all four params, the description covers the remaining gaps an agent would care about: what the return contains, how to narrow it with file=, and how to page. Nothing needed to call it correctly is missing.

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?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning beyond the schema: the special behavior of archetype='index' (returns a listing with file sizes rather than a file), and the paging continuation contract via offset. The max_bytes parameter is left to the schema.

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 opens with a concrete verb and resource: 'Returns a complete reference app (schemas.py, config.py, setup.py, ui/app.js) for an archetype,' and enumerates the archetypes available. It never names a sibling (e.g. build_get_bundle or build_get_project) or states how it differs from them, so an agent must infer the distinction from the resource description alone.

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 a clear use case: 'Useful as a pattern source for structure, landing page and schemas when authoring a similar app,' and explains that archetype='index' (the default) lists rather than returns a bundle. It stops short of explicit exclusions or pointing to a sibling tool for the adjacent need.

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.