Skip to main content
Glama

Report files written

notify_files_written

Index files into the CIL codebase context for a project — for files Codemind itself did not generate (a manual edit, another tool's output). Not needed after a normal build_feature call: a completed build's own output is indexed automatically when projectId was supplied.

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": {
      "projectId": "<projectId>",
      "files": "<files>"
    },
    "name": "notify_files_written"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYesFiles to index, ≤10 files / ≤700KB total.
projectIdYesOpaque project identifier — same value used in build_feature calls for this codebase.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already mark this as non-read-only but non-destructive, and the description adds the important behavioral fact that normal build output is auto-indexed, which prevents redundant calls. It does not say what happens when a path is indexed twice or whether content is replaced versus merged, which is the main remaining behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler. The purpose and the exclusion condition are both front-loaded, and the 'Not needed after...' clause is the highest-value information placed early.

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 two-parameter notification tool with annotations and no output schema, the description covers purpose, the triggering scenario, and the redundancy case. It stops short of describing what indexing makes possible or what the call returns, which is a minor gap given the schema is fully documented.

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 coverage is 100%, so both projectId and the nested path/content fields are already documented in the schema. The description only echoes the projectId linkage to build_feature and adds no format or constraint detail beyond it, so the baseline 3 applies.

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 a specific verb and resource — indexing files into the CIL codebase context for a project — and immediately scopes it to files Codemind did not generate. That qualifier separates it cleanly from build_feature and the other build tools in the sibling list.

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 both the when and the when-not: use it for a manual edit or another tool's output, and skip it after a normal build_feature call because completed builds are indexed automatically when projectId was supplied. The alternative path is named explicitly.

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