Skip to main content
Glama

Tag or describe a file or folder

tarkle_update_details
Idempotent

Add or remove tags and set or clear the description of one file (fileId) or folder (folderId); send exactly one of them, and at least one of addTags, removeTags or description. Tags: up to 20 an item, each up to 32 characters once cleaned: letters, numbers, - or _ (a leading # is dropped, spaces become -, stored lowercase); reuse the workspace's tags from tarkle_list_tags. Description: plain text up to 500 characters once spaces at the ends are removed, or null to clear it. Whoever may rename the item may change these; a Tarkle system folder or a folder used by an active file request is refused with the reason. Answers with the item (id, name, tags and description) after the change.

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": {
      "workspaceId": "<workspaceId>"
    },
    "name": "tarkle_update_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdNoThe id of a file, from tarkle_list_files or tarkle_list_bin.
addTagsNoTags to add, for example ["invoice", "2026"]. Existing tags are kept.
folderIdNoA folder id from tarkle_list_folders or tarkle_create_folder.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
removeTagsNoTags to take off. Other tags are kept.
descriptionNoThe new plain-text description, or null to clear it. Spaces at the ends and control characters are removed first, and the cleaned text can be up to 500 characters. Leave it out to keep the current description.
workspaceIdYesThe workspace's id, from tarkle_list_workspaces.

Output Schema

NameRequiredDescriptionDefault
itemNo
noticeNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations, which only declare idempotent, non-read-only, non-destructive. It adds the authorization rule, the two refusal cases (Tarkle system folders, folders used by an active file request) with the reason surfaced, the exact normalization pipeline, and the shape of the response returned after the change.

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?

Front-loads the action and the exclusivity constraints before the detailed cleaning rules, so the most decision-relevant information comes first. It is dense and semicolon-chained in a single block, which reads as cramped, but virtually every clause carries operational detail rather than filler.

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

Completeness5/5

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

For a 7-parameter mutation tool with an output schema, it covers everything an agent needs: selection between file and folder, what must be supplied, value constraints, permission requirements, failure modes, and confirmation of the returned item. The output schema handles the return detail, so nothing material is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: the cleaned 32-character tag rule with '#' stripping, space-to-hyphen conversion and lowercasing explains the schema's 40-character raw limit, and 'null to clear it' plus truncation-at-500 clarifies the description field. The llm_model analytics parameter is left to the schema, which is acceptable.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States specific verbs (add/remove tags, set/clear description) against a specific resource (one file via fileId or one folder via folderId). It immediately distinguishes its target from sibling tools that rename, move, or delete items, so an agent can pick it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives hard invocation constraints (exactly one of fileId/folderId, at least one of addTags/removeTags/description) and routes tag discovery to tarkle_list_tags. It also states the permission model (anyone who may rename) and two refusal conditions. It does not explicitly say when to prefer tarkle_rename_file or tarkle_rename_tag instead, but the guidance present is clear and actionable.

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.