Skip to main content
Glama

EDNA — On-Device Human Sensing for AI

hub_file_write

Schreibt eine Datei in ein Hub-Repo.

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": {
      "path": "<path>"
    },
    "name": "hub_file_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
repoNo
contentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • removedInput schema / properties / agent_api_key
      Removed value: -{
      -  "description": "HANDLE-WEG: Agent-API-Key (Bearer) — Owner-Agent oder delegierter Agent, kein Repo-Key nötig",
      -  "type": "string"
      -}
    • removedInput schema / properties / api_key
      Removed value: -{
      -  "description": "Schreibschlüssel des Repos (x-repo-key)",
      -  "type": "string"
      -}
    • removedInput schema / properties / author
      Removed value: -{
      -  "description": "Autoren-Attribution",
      -  "type": "string"
      -}
    • removedInput schema / properties / content / description
      Removed value: -"UTF-8-Inhalt"
    • removedInput schema / properties / content_base64
      Removed value: -{
      -  "description": "Alternative zu content (Base64)",
      -  "type": "string"
      -}
    • removedInput schema / properties / message
      Removed value: -{
      -  "description": "Versionsnotiz",
      -  "type": "string"
      -}
    • removedInput schema / properties / path / description
      Removed value: -"Dateipfad im Repo, z. B. notizen/kapitel-1.md"
    • removedInput schema / properties / repo / description
      Removed value: -"Repo-ID (z. B. dein Presence-Handle oder \"wiki\" mit Operator-Key)"
    • changedInput schema / required
      Previous value: -[
      -  "repo",
      -  "path"
      -]New value: +[
      +  "path"
      +]
  2. Added

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, and it discloses almost nothing. It does not say whether writes overwrite existing files, whether they create parent paths, what permissions or repo access are required, or whether the operation is reversible — all critical for a mutation tool.

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?

It is a single short sentence with no filler, so nothing is wasted. However, the brevity is under-specification rather than economy — one sentence cannot cover a three-parameter write operation.

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

Completeness1/5

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

Given a mutation tool with three parameters, zero schema documentation, no annotations, and no output schema, the definition is not complete enough for reliable invocation. An agent would have to guess at overwrite semantics, path resolution, and repo targeting before calling it.

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 0% across three parameters, so the description must compensate and largely does not. The words "Datei" and "Hub-Repo" faintly map to path/content and repo, but nothing explains whether repo is a default, how path is resolved, or whether content is optional.

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

Purpose3/5

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

The description gives a verb and resource ("Schreibt eine Datei" into a "Hub-Repo"), so the basic action is identifiable, but it stops there. It offers no differentiation from a write-adjacent sibling such as write_chain, and the German text is the only place the operation is described at all, which leaves the purpose only minimally established.

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, no prerequisites, and no mention of when not to use this tool versus alternatives. The agent must infer everything about invocation context from the tool name alone.

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.