Skip to main content
Glama

Get the code of a Vault component

get_vault_code
Read-onlyIdempotent

The code of one component of the Memorables Vault, for a Pro member: in one format (React by default, or vanilla JavaScript, or Webflow), with the theme and the settings asked for already written into it, and the steps to install it. Give the component’s slug, name or page; its settings and their ranges are in get_vault_component. One format per call. The code is licensed to the member for their own and their clients’ projects: never republish it as a kit or a template.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "component": "<component>"
    },
    "name": "get_vault_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoFor a component made of text: the words to set.
themeNo« dark » (default) or « light ».
formatNo« react » (default), « vanilla » or « webflow ». One at a time.
valuesNoIts settings by key (see get_vault_component), each within its range; anything else keeps its default.
componentYesIts slug (« cover-flow »), name or page address (« /vault/cover-flow »).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's added value is the non-obvious context: entitlement requires Pro membership, only one format per call, and a licensing restriction against republishing the code as a kit or template. That licensing constraint is exactly the kind of behavioral trait structured fields cannot express.

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 and output are front-loaded, and every sentence carries content (format default, entitlement, constraint, licensing). The first sentence is a long colon-and-comma chain that takes a second pass to parse, which costs a point against an otherwise efficient two-part structure.

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: it names the code artifact, the format, the embedded theme/settings, and the installation steps. Combined with full schema coverage and annotations, the only remaining gap is any notion of limits (size, rate, or repeated calls) for a tool that renders code.

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 the baseline is 3; the description exceeds it by explaining that 'component' accepts a slug, name, or page path and by directing agents to get_vault_component to discover valid 'values' keys and ranges. That cross-reference adds real meaning the schema only alludes to with 'see get_vault_component'.

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 and resource ('the code of one component of the Memorables Vault') and enumerates the concrete return payload: the code in one of three formats, theme and settings baked in, plus install steps. It also distinguishes itself from the closest sibling by pointing at get_vault_component for settings and ranges, so an agent can separate the two without opening a schema.

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 precondition ('for a Pro member'), a hard usage constraint ('One format per call'), and routes agents to get_vault_component when they need setting keys and ranges. It stops short of explicit when-not-to-use guidance (e.g. when to use list_vault_components or get_vault_component instead), but the operating context is unambiguous.

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.

Resources