Skip to main content
Glama

Metadata Management

metadata_manage
Destructive

Fastio workspace metadata (write): fold one field name into another, workspace-wide; create, replace or delete saved filters. Destructive: fields-merge (irreversible; unconfirmed it is a preview), filter-delete. Reads are on metadata. action='describe' gives the full reference.

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": {
      "action": "<action>"
    },
    "name": "metadata_manage"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoSaved filter name, 1-100 characters, unique per workspace.
actionYesOperation. Use 'describe' for full action reference.
confirmNofields-merge: 'true' performs the IRREVERSIBLE workspace-wide merge; omitted, the call is a preview that changes nothing.
filter_idNoSaved filter ID (from filters-list).
predicateNoSaved filter predicate: JSON array of up to 5 AND-ed {field,operator,value} clauses; [] matches all prepared files.
projectionNoSaved filter projection (JSON object): {"columns":[{"field","visible"?}] (at most 50 visible), "scope":{"folder_id"} (that folder and its subfolders; no run-time override), "sort":{"axis"?: builtin (default)|fact, "field", "dir"?}}. Other keys are stored as sent.
descriptionNoSaved filter description, max 255 characters.
template_idNoRETIRED (metadata templates were removed): supplying it fails the request on every action. Narrow by field name (fields-list).
source_fieldNoThe field NAME that is FOLDED AWAY and stops existing. Names, not ids.
target_fieldNoThe field NAME that SURVIVES and absorbs the source's values.
workspace_idNoWorkspace opaque ID (19-digit numeric ID or custom name). Required for every action.
describe_actionNoWith action='describe': return one action's params and notes instead of the action index.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / predicate / description
      Previous value: -"Saved filter predicate: JSON array of up to 5 AND-ed {field,operator,value} clauses; [] matches all."New value: +"Saved filter predicate: JSON array of up to 5 AND-ed {field,operator,value} clauses; [] matches all prepared files."
    • changedInput schema / properties / projection / description
      Previous value: -"Saved filter projection (JSON object or array, stored as sent); only {\"sort\":{field,dir}} is applied."New value: +"Saved filter projection (JSON object): {\"columns\":[{\"field\",\"visible\"?}] (at most 50 visible), \"scope\":{\"folder_id\"} (that folder and its subfolders; no run-time override), \"sort\":{\"axis\"?: builtin (default)|fact, \"field\", \"dir\"?}}. Other keys are stored as sent."
  2. Changed6 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "describe",
      -  "fields-merge"
      -]New value: +[
      +  "describe",
      +  "fields-merge",
      +  "filter-create",
      +  "filter-update",
      +  "filter-delete"
      +]
    • addedInput schema / properties / description
      Added value: +{
      +  "description": "Saved filter description, max 255 characters.",
      +  "type": "string"
      +}
    • addedInput schema / properties / filter_id
      Added value: +{
      +  "description": "Saved filter ID (from filters-list).",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "Saved filter name, 1-100 characters, unique per workspace.",
      +  "type": "string"
      +}
    • addedInput schema / properties / predicate
      Added value: +{
      +  "description": "Saved filter predicate: JSON array of up to 5 AND-ed {field,operator,value} clauses; [] matches all.",
      +  "type": "string"
      +}
    • addedInput schema / properties / projection
      Added value: +{
      +  "description": "Saved filter projection (JSON object or array, stored as sent); only {\"sort\":{field,dir}} is applied.",
      +  "type": "string"
      +}
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Goes beyond the blanket destructiveHint=true by naming which actions are destructive (fields-merge, filter-delete) and flagging that the merge is irreversible and workspace-wide. The parenthetical 'unconfirmed it is a preview' is awkwardly worded and largely restates the `confirm` parameter rather than adding new behavior, keeping it below a 5.

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?

Two tight sentences with the write scope front-loaded ahead of the destructive warnings and the read alternative. The single weak spot is the garbled '(irreversible; unconfirmed it is a preview)' clause, which costs a little clarity.

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?

With 12 parameters and no output schema, the description correctly avoids restating parameter detail and instead delegates to action='describe' plus the schema. It covers scope, destructiveness, and the read/write split, leaving only per-action guidance and return behavior unaddressed by design.

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 description coverage is 100%, so every parameter already carries its own documentation, making 3 the baseline. The description adds only the workspace-wide scope of the merge and the pointer to action='describe' for per-action parameter notes, which is useful but marginal.

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 and resources: 'fold one field name into another, workspace-wide' and 'create, replace or delete saved filters.' It also explicitly separates itself from the read-side sibling by naming `metadata` as where reads live, so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit when-not ('Reads are on `metadata`') and an explicit escape hatch for depth ('action=describe gives the full reference'). Combined with the destructive-action labeling, the agent knows both when to pick this tool and how to learn the per-action specifics.

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