Skip to main content
Glama

Метаданные файла ИИ

ai_files_get
Read-onlyIdempotent

Fetches details for a specific case file by UUID; optionally specify a case name or ID to target the correct case.

Instructions

Читает карточку конкретного файла дела.

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": {
      "file": "<file>"
    },
    "name": "ai_files_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseNoДело: название или идентификатор. Если не указать, берётся дело по умолчанию, иначе последнее открытое в панели.
fileYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered. The description adds only the scoping notion of 'a specific file' and says nothing about what the card contains, how the default case is resolved, or any error behavior for unknown UUIDs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of waste, but it is under-specified rather than genuinely concise, packing no information about scope, defaults, or output into the only sentence available.

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

Completeness2/5

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

For a two-parameter read tool with no output schema, the description should at least indicate what metadata fields the 'card' returns and how case resolution works. Neither is covered, so an agent cannot predict the response shape or the fallback behavior of the optional 'case' parameter.

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 only 50%: the 'case' parameter is documented in the schema, but 'file' has no textual description, only a uuid format and pattern. The description does not compensate by explaining that 'file' must be a UUID or that omitting 'case' falls back to a default or last-opened case, leaving the description to add nothing beyond structured fields.

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 plus resource in Russian: 'Читает карточку конкретного файла дела' (reads the card/metadata of a specific case file). An agent can tell this retrieves metadata for one file rather than listing or downloading files, though it does not name the sibling tools it contrasts with.

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 guidance on when to use this versus ai_files_list, ai_files_download, or ai_files_refresh, and no prerequisites or exclusions are stated. The agent must infer usage purely from the verb 'reads'.

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

Deploy Server

Other Tools