Skip to main content
Glama

get_asset

Retrieve full metadata, license evidence, quality evidence, and sanitized file contents for a specific asset, with an option to include code.

Instructions

Full metadata, license evidence, quality evidence and (sanitised, untrusted) file contents for one asset.

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": {
      "asset_id": "<asset_id>"
    },
    "name": "get_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
asset_idYes
include_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does add one genuinely valuable disclosure — that file contents are 'sanitised, untrusted', a security-relevant warning about injected content — but it says nothing about read-only semantics, error behavior for unknown asset_ids, size limits, or cost of fetching full contents.

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?

A single dense sentence with no filler, front-loading the returned data categories. It reads as a noun phrase rather than a complete clause, which is acceptable but slightly less clear than a full sentence would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description reasonably covers the return surface, which matters since there is no output schema, and the untrusted-content note is a real plus. However, for a tool with 0% parameter coverage and no annotations, it omits both parameter meaning and failure modes, leaving meaningful gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must explain asset_id and include_code and does not. In particular, include_code (default true) governs whether the 'file contents' mentioned in the text are returned, yet the description never ties the two together, leaving an undocumented toggle that materially changes the response.

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+resource (get_asset) and enumerates exactly what is returned: metadata, license evidence, quality evidence, and file contents. The phrase 'for one asset' implicitly contrasts with the sibling search_assets, 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 Guidelines2/5

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

There is no when-to-use guidance, no mention of alternatives such as search_assets for discovery, and no stated prerequisites. An agent can infer it is a single-item lookup by ID, but nothing in the text confirms that or excludes other paths.

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