Skip to main content
Glama

rigshare_get_equipment

Retrieve complete details, specs, pricing, owner info, images, and booking link for any RIGShare equipment listing using its UUID.

Instructions

Fetch full details for a single RIGShare equipment listing by its UUID. Returns specs, pricing, owner info, images, and a deep-link URL for booking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesEquipment UUID (obtained from search_equipment results).

Implementation Reference

  • The actual handler function for rigshare_get_equipment. Fetches a single listing by UUID from the public API, validates the UUID, and returns formatted text with title, division, category, make/model/year, condition, rates, remote/in-person access info, owner, rating, description, and booking URL.
    /** Fetch a single listing by UUID. */
    async function getEquipment(args: Record<string, unknown>) {
      const id = args.id;
      if (typeof id !== "string" || !/^[0-9a-f-]{36}$/i.test(id)) {
        return toolError("id must be a valid UUID");
      }
      const url = `${RIGSHARE_API}/equipment/${encodeURIComponent(id)}`;
      const res = await fetchJson(url);
      if (res.status === 404) return toolError(`No active listing found for id ${id}.`);
      if (res.error) return toolError(res.error);
    
      const l = res.data?.data;
      if (!l) return toolError("Empty response from RIGShare API");
    
      const rates = Object.entries(l.rates_usd || {})
        .filter(([, v]) => v !== null && v !== undefined)
        .map(([k, v]) => `${k.replace(/_/g, " ")}: $${v}`)
        .join(", ");
      const remote = l.remote_access?.enabled
        ? `Remote access: ${l.remote_access.access_type}${l.remote_access.region ? ` (${l.remote_access.region})` : ""}${l.remote_access.requires_mfa ? " · requires MFA" : ""}${l.remote_access.specs ? `\nSpecs: ${l.remote_access.specs}` : ""}`
        : `In-person pickup · ${l.location?.city || ""}, ${l.location?.state || ""}`;
    
      const description = [
        `${l.title}`,
        `Division: ${l.division} · Category: ${l.category}`,
        [l.make, l.model, l.year].filter(Boolean).join(" "),
        `Condition: ${l.condition || "unspecified"}`,
        `Rates: ${rates || "contact owner"}`,
        remote,
        `Owner: ${l.owner?.display_name || "—"}${l.owner?.verified ? " (ID verified)" : ""}`,
        `Rating: ${l.rating?.average ?? "—"} (${l.rating?.count ?? 0} reviews)`,
        "",
        l.description || "",
        "",
        `Book at: ${l.url}`,
      ]
        .filter(Boolean)
        .join("\n");
    
      return toolText(description);
    }
  • src/index.ts:307-308 (registration)
    Registers the tool name 'rigshare_get_equipment' in the CallToolRequestSchema switch statement, dispatching to the getEquipment function.
    case "rigshare_get_equipment":
      return await getEquipment(args || {});
  • The tool definition with input schema registered in the ListToolsRequestSchema handler. Defines the tool name, description, and that it requires a single 'id' parameter of type string with uuid format.
    {
      name: "rigshare_get_equipment",
      description:
        "Fetch full details for a single RIGShare equipment listing by its UUID. Returns specs, pricing, owner info, images, and a deep-link URL for booking.",
      inputSchema: {
        type: "object",
        required: ["id"],
        properties: {
          id: {
            type: "string",
            format: "uuid",
            description: "Equipment UUID (obtained from search_equipment results).",
          },
        },
      },
    },
Behavior2/5

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

No annotations provided, so description must carry full burden. Only states it 'fetches' data, which implies read-only, but does not disclose permissions, rate limits, error handling, or side effects. Minimal behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler. First sentence states action and identifier, second lists returned data. Highly efficient and front-loaded.

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?

Given the tool's simplicity (single param, no output schema), the description covers the purpose, required input, and return contents completely. No gaps for a straightforward fetch operation.

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?

Only one parameter 'id' with schema description 'Equipment UUID (obtained from search_equipment results).' The description adds valuable context on the UUID's source, beyond the schema's format hint. Schema coverage is 100%.

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?

Clearly states verb 'Fetch' and resource 'single RIGShare equipment listing by its UUID', with a detailed list of returned data (specs, pricing, owner, images, booking URL). Differentiates from sibling tools like search_equipment or create_booking.

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?

Implies use when an equipment UUID is known from search_equipment, but lacks explicit when-not-to-use or alternative tool guidance. No mention of prerequisites or limitations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RPER2001/rigshare-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server