Skip to main content
Glama

Say what files are

files_edit
Idempotent

Set what one file is, or up to 100 at once, all or none: title, notes, document_date (the date on the document), correspondent (who it is from or to; made the first time a file names it), document_type, tags (replace them all; [] clears), add_tags, remove_tags, and fields ({"Total": "EUR 119.00", "Due": "2026-11-01"}; null clears one). null clears title, notes, the date, the correspondent or the type. Types, tags and fields must be defined first (files_define). Conecto never files anything on its own: you decide what each file is. $0.005 per file changed. Costs $0.005 per file changed; nothing if none are found.

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_ids": "<file_ids>"
    },
    "name": "files_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
notesNo
titleNo
fieldsNo
add_tagsNo
file_idsYes
remove_tagsNo
correspondentNo
document_dateNoYYYY-MM-DD, or null.
document_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description adds substantial behavior beyond the annotations: batch editing up to 100 files with all-or-none semantics, tag replacement, [] clearing tags, null clearing individual fields, prerequisite definitions, and per-file cost. These details are not covered by the annotations, which only state it is non-destructive, idempotent, non-read-only and not open-world.

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?

The description is front-loaded with the core action and batch limit, then lists field semantics and prerequisites. It is dense but appropriate for a 10-parameter mutation tool; the only clear waste is the duplicated cost statement ('$0.005 per file changed' appears twice).

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?

For a complex metadata mutation with nested fields and no output schema, the description covers prerequisites, clearing behavior, batching, atomicity and cost. It could be slightly more complete by explicitly stating that omitted parameters leave existing values unchanged and by saying what a successful response contains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema description coverage is only 10%, the description compensates by explaining nearly every parameter semantically: title, notes, document_date, correspondent, document_type, tags replacement/clearing, add_tags, remove_tags, and fields with null-clearing behavior. This goes well beyond the schema types and constraints.

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?

The description uses a specific verb and resource: 'Set what one file is' and lists the metadata being set. It clearly distinguishes the tool from files_define by requiring definitions first, so an agent can tell it is for editing existing file metadata rather than defining types/tags/fields.

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?

It gives a clear prerequisite: types, tags and fields must be defined first via files_define. It also contextualizes that Conecto does not file anything on its own, so the agent must decide file metadata. It does not explicitly name when to use this versus files_get or files_delete, but the editing context is clear.

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