Skip to main content
Glama

Import Reference

import_reference
Idempotent

Import an explicitly attached host file as an owned reference; validates source, content and limits, and does not start paid generation.

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": {
      "project_id": "<project_id>",
      "file": "<file>",
      "request_key": "<request_key>"
    },
    "name": "import_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYes
project_idYesOpaque authorized product identifier; never proof of access.
request_keyYesStable caller request key; reuse unchanged after a lost response.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare non-read-only, open-world, idempotent, non-destructive behavior, so the bar is lower. The description still contributes real context beyond them: it validates source, content and limits, and explicitly states no paid generation is started — a cost-related fact the annotations cannot express.

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 front-loaded sentence that states the action first, then the behavioral guarantees. Every clause carries distinct information — target, validation scope, and the no-cost guarantee — with no filler.

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?

An output schema exists, so return values need not be explained, and the cost/validation notes cover the main behavioral concerns. What is missing is the relationship to 'attach_reference' and what 'owned reference' implies for later asset lifecycle — items an agent would want when picking between near-duplicate tools.

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 67%, with the nested file object's fields (file_id, file_name, mime_type, download_url) carrying no descriptions. The description's mention of 'explicitly attached host file' and source validation loosely frames the download_url as the source to be validated, but adds no detail on file field semantics, size/content limits, or how project_id scopes ownership.

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 gives a specific verb and resource: importing an explicitly attached host file as an owned reference in the project. That is clear and actionable, but it never names or contrasts with the obvious sibling 'attach_reference', so an agent must infer the boundary between the two.

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?

It implies the use case (a host file already attached to the conversation, being registered as an owned reference) and adds a useful guardrail that no paid generation is triggered. It gives no explicit when-not guidance and does not point to 'attach_reference' or other alternatives, leaving the selection decision partly to inference.

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