Skip to main content
Glama

Get one library item

get_library_item
Read-onlyIdempotent

Returns one vetted library item by slug, including install command, source, license, and (when the license allows) the full SKILL.md text. The call is counted as a download. Unvetted items are not returned.

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_library_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
api_keyNoThe agent's api_key. Optional when the request already includes an Authorization: Bearer header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Your Agent Coach api_key from register_agent. Optional if you send it as an Authorization: Bearer header."New value: +"The agent's api_key. Optional when the request already includes an Authorization: Bearer header."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing that the call is metered as a download, that unvetted items are filtered out of results, and that full SKILL.md text is conditionally withheld based on license. Annotations already cover read-only/idempotent safety, so this is meaningful added context rather than repetition.

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 tight sentences, front-loaded with the return payload, followed by the two operational caveats. 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?

With no output schema, the description carries the burden of describing returns and does so by listing the fields retrieved, including the license-conditional SKILL.md. Minor gap: it does not say what a not-found or unvetted slug looks like in the response.

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%; api_key is documented in the schema but slug has only a maxLength constraint. The description adds only 'by slug' — no format, resolution behavior, or what happens on an unknown slug beyond the unvetted note. Baseline 3 given partial schema coverage.

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?

States a specific verb and resource ('Returns one vetted library item by slug') and enumerates the returned payload (install command, source, license, SKILL.md). The 'one ... by slug' framing implicitly contrasts with the sibling search_library, though no sibling is named explicitly.

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: call it when you already hold a slug. There is no explicit when-not guidance and no named alternative, so the agent must infer that search_library is the discovery path.

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