Skip to main content
Glama

Обновить метаданные файла ИИ

ai_files_refresh

Fetches remote file metadata from the service and updates the corresponding panel card, keeping file details in sync with the specified 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_refresh"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety profile is known. The description adds useful context by revealing the two-step behavior — an outbound call to the remote service plus a local panel-card update — which explains the open-world and mutation hints. It does not cover failure behavior, permissions, or whether local edits are overwritten.

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, front-loaded sentence with no filler that conveys both the remote fetch and the local write. It is efficient, though slightly terse for a mutation tool.

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 non-idempotent, open-world mutation with no output schema and one undocumented parameter, the description omits what metadata is refreshed, what happens on remote failure, and how the required file identifier is supplied. It covers purpose and side effect but leaves real 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 coverage is only 50%: the 'case' parameter is documented in the schema, but 'file' carries only a UUID format and pattern. The description mentions no parameters at all, so it fails to compensate for the undocumented required 'file' parameter.

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 states a specific verb and resource: it fetches metadata of the remote copy from the service and updates the panel card, which an agent can distinguish from a plain get. It does not explicitly contrast itself with siblings such as ai_files_get or ai_files_list, 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 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 and no mention of alternatives; the agent must infer that this is for re-syncing stale metadata rather than for reading it. Nothing tells the agent when not to call it or what to prefer instead.

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