Skip to main content
Glama

Get company artifact

get_artifact
Read-only

Returns one company artifact and its versions, newest first. With content true, also returns the file of version (the latest by default) exactly as published, in file.text for a UTF-8 text file (HTML, Markdown, JSON, SVG) or file.base64 otherwise. Errors carry a stable code.

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": {
      "artifact": "<artifact>"
    },
    "name": "get_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentNo
versionNo
artifactYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive, closed-world behavior, and the description still adds real context: versions come back newest first, content is returned exactly as published, encoding is chosen by file type (file.text for UTF-8 text, file.base64 otherwise), and errors carry a stable `code`. Only rate limits or size limits are unaddressed.

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?

Three dense sentences, front-loaded with the core return behavior, then the optional content mode, then error shape. No filler or restatement of the title.

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?

An output schema exists, so the description need not document return structure, yet it still clarifies the meaningful parts (version ordering, file.text vs file.base64, error `code`). The only missing piece an agent needs is how to obtain a valid `artifact` value.

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?

Schema description coverage is 0%, so the description carries the burden and mostly does: `content` toggles file retrieval, `version` defaults to the latest, and the file/base64 split is spelled out. The required `artifact` integer is never explained (e.g., that it is an ID obtained from list_artifacts), leaving one gap.

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 company artifact and its versions, newest first'), and the word 'one' implicitly separates it from list_artifacts. It does not explicitly name or contrast with any sibling, so it stops short of a 5.

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: fetch a single artifact plus its version history, optionally with file content. There is no explicit when-to-use/when-not guidance and no pointer to list_artifacts for discovering the required `artifact` identifier, so the agent must infer routing.

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.