Skip to main content
Glama
@particlr/mcp
by brac

Get Reference

get_reference
Read-onlyIdempotent

Fetches inline .prt reference material—format spec, JSON Schema, or authoring guide—to help coding agents validate and author particle effects.

Instructions

Fetch reference material inline: topic "format-spec" (the .prt format spec, markdown) or "schema" (the JSON Schema for a .prt document).

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": {
      "topic": "<topic>"
    },
    "name": "get_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicYes"format-spec" = the .prt format spec (markdown); "schema" = the JSON Schema for a .prt document; "authoring-guide" = how to author a .prt that LOOKS good (units, blend/layer/curve/trail recipes, common mistakes).

Output Schema

NameRequiredDescriptionDefault
textYes
topicYes
formatYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description adds only that content is returned inline and what format each topic yields, which is modest additional context; nothing about size, versioning or caching is disclosed.

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?

A single front-loaded sentence with the action first and the option list second; no filler. It loses a point only because the compact option list is where the omission of "authoring-guide" occurred.

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 one-parameter, read-only tool with an output schema and full annotations, the description covers what is needed to invoke it correctly. The only real gap is the missing third topic, which the schema itself still supplies.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already defines all three enum values with descriptions, so the description adds no new meaning. Worse, it enumerates only "format-spec" and "schema", omitting the valid "authoring-guide" value present in the schema, which could mislead an agent skimming the description about the available options.

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?

"Fetch reference material inline" gives a specific verb (fetch) and resource (reference material), and the enumerated topics make the deliverable concrete. It is clearly distinguishable from siblings like get_effect or render_effect, which operate on effects rather than documentation.

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 word "inline" hints that this returns content for the agent to read rather than performing an action, which implicitly separates it from the effect-manipulation siblings. However, there is no explicit statement of when to call it (e.g., before authoring or validating a .prt document) and no named alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.