Skip to main content
Glama

Get a FiveM resource

get_product
Read-onlyIdempotent

Details of one RPScripts product by slug (from search_products): description (Markdown), frameworks, version, categories, list price and checkout_price (after the discount Checkout applies automatically, absent when there is none), whether it can be bought, and install requirements from RPScripts Lab's static check of the download (dependencies, start order).

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": {
      "slug": "<slug>"
    },
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
localeNoLanguage of names, descriptions and URLs (en, de, fr, pt, es)en

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, and non-destructive, so the safety profile is covered. The description goes beyond that by explaining derived semantics: checkout_price is the post-discount value applied automatically and is absent when there is no discount, plus a purchasability flag and install requirements that come from a static check of the download rather than runtime verification.

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 a single front-loaded sentence that leads with what is returned and keeps the highest-value facts (price semantics, purchasability) early. The nested parentheses and comma-separated field list make it dense and slightly run-on, but no sentence is wasted.

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 by enumerating the fields returned, including conditional absence of checkout_price. Minor gaps remain: no mention of behavior for an unknown slug, and locale's effect on output is left entirely to the schema.

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 50%, with locale fully documented in the schema but slug undocumented there. The description compensates for slug by specifying its provenance (from search_products), but never mentions locale or how it affects returned names, descriptions, and URLs, so half the surface remains unaddressed in prose.

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 names a specific verb and resource (details of one RPScripts product by slug) and enumerates the returned fields, so an agent can tell it apart from search_products without opening a schema. The parenthetical '(from search_products)' also pins down where the identifier comes from.

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 implies the correct workflow by noting the slug comes from search_products, which gives an agent clear context for when this tool applies. It stops short of explicit exclusions, though — it never says when to prefer check_compatibility, validate_resource, or get_download_url over fetching product details.

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