Skip to main content
Glama

Assemble Pro

Get library item

get_library_item
Read-onlyIdempotent

One library item's full pricing (unit, cost, markup, margin, tax, rounding, pack size) and which assemblies and templates use it.

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": {
      "item_id": "<item_id>",
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "get_library_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextYesIn one short sentence, say what the user is trying to get done (e.g. 'pricing a kitchen extension'). Use roles like 'the customer', never names, addresses, emails or prices.
item_idYesThe library item id (24 hex characters)
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess.
conversation_idNoPass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 a closed-world scope, so the safety profile is fully covered without the description. The description contributes real value by specifying the returned data surface (a full pricing breakdown plus cross-references), but says nothing about behavior on an unknown item id or any auth requirements.

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?

A single sentence that front-loads the object being fetched and spends its parenthetical entirely on useful, load-bearing field names. Nothing is redundant with the title or annotations.

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 read-only lookup with no output schema, the description does the important work of enumerating the return surface, and the schema fully covers the four inputs. What is missing is the response shape (single object, and how the assembly/template references are structured) and the not-found behavior, keeping it at 4.

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 description coverage is 100%, and the schema itself documents item_id's 24-hex pattern and the context/llm_model/conversation_id protocol in unusual detail. The description adds no parameter-level meaning beyond that, so the baseline 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?

The description pairs a concrete resource ('One library item') with an enumeration of exactly what comes back: unit, cost, markup, margin, tax, rounding, pack size, plus the assemblies and templates that reference it. That is far more specific than a title restatement. It stops short of naming a sibling it is distinct from, so it lands at 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to call this versus alternatives such as explain_assembly_price or get_template, and no prerequisites (e.g. needing a valid 24-hex item id obtained elsewhere). The only steer is implicit in the singular 'one library item', which an agent must infer means lookup by known id.

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