Skip to main content
Glama

Get a Texture

get_texture
Read-onlyIdempotent

One Texture by slug: one self-contained React file to write exactly as given (no Tailwind, no dependency beyond react), placement snippets, fit and perf facts, tokens. Pro Textures return a locked result with the price and upgrade URL when the account is not on Pro.

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": {
      "ref": "<ref>"
    },
    "name": "get_texture"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesThe Texture's slug from search_textures.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, closed-world), so the description is free to add what they don't: the payload shape and, importantly, the non-error degraded state — a `locked` result carrying a price and upgrade URL for non-Pro accounts. That is real behavioral context an agent could not infer. It doesn't cover error behavior for an invalid slug, which keeps it off a 5.

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?

Two sentences, front-loaded with the resource and immediately followed by the payoff contents and the Pro caveat; nothing is padding. The mid-sentence list ("placement snippets, fit and perf facts, tokens") is compressed but readable and each item carries information.

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 must characterize the return value, and it does — content types plus the `locked` alternate result. For a single-parameter lookup this is close to complete; only invalid-slug/error handling is unaddressed.

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?

Schema coverage is 100% and the `ref` parameter already documents the slug pattern and its source (search_textures). The description's "by slug" restates that without adding format or resolution details, so the structured field does the work and the baseline of 3 applies.

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?

"One Texture by slug" names the resource and its singular scope, and the description immediately enumerates what the result contains (React file, placement snippets, fit/perf facts, tokens). This distinguishes it from search_textures and check_textures, which operate over sets. It stops short of an explicit verb like "fetch," but the intent is unambiguous.

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?

Usage is implied rather than stated: the schema says the slug comes from search_textures, and the description says to write the returned file "exactly as given (no Tailwind, no dependency beyond react)." That is useful handling guidance, but there is no when-to-use/when-not guidance relative to get_texture_preview or get_matching_set, which an agent must choose between.

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.