Skip to main content
Glama

axint.xcode.write

Write Apple-native files to an Xcode project with automatic Swift validation and guard proof recording.

Instructions

Write a file inside the Xcode project through the Axint guard path. For Swift files, runs axint.swift.validate and axint.cloud.check immediately, then records .axint/guard/latest.* proof. Use this instead of raw XcodeWrite when an agent is editing Apple-native files during a long task. Use: use only for guarded Xcode-project file writes; outside Xcode, patch normally and validate after. Inputs: path must remain inside cwd; createDirs, validateSwift, and cloudCheck default true. Effects: writes the requested file inside cwd, may create dirs, validates Swift, and may write guard/check artifacts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoProject root. Defaults to the MCP process cwd.
pathYesFile path to write. Relative paths are resolved inside cwd; absolute paths must still be inside cwd.
notesNoAgent notes or user feedback to scan for drift while writing.
formatNoOutput format. Defaults to markdown.
contentYesFull file contents to write.
platformNoTarget Apple platform for Cloud Check.
cloudCheckNoWhether to run Cloud Check for .swift files. Defaults to true.
createDirsNoWhether to create parent directories before writing. Defaults to true.
projectNameNoProject name for guard/session reports.
sessionTokenNoCurrent axint.session.start token, if already known.
validateSwiftNoWhether to run Swift validation for .swift files. Defaults to true.
expectedVersionNoExpected Axint version for this project.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
isErrorNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed11 schema fields changed
    • changedInput schema / properties / cloudCheck / description
      Previous value: -"Whether to run Cl..."New value: +"Whether to run Cloud Check for .swift files. Defaults to true."
    • changedInput schema / properties / createDirs / description
      Previous value: -"Whether to create..."New value: +"Whether to create parent directories before writing. Defaults to true."
    • changedInput schema / properties / cwd / description
      Previous value: -"Project root. Def..."New value: +"Project root. Defaults to the MCP process cwd."
    • changedInput schema / properties / expectedVersion / description
      Previous value: -"Expected Axint ve..."New value: +"Expected Axint version for this project."
    • changedInput schema / properties / format / description
      Previous value: -"Output format. De..."New value: +"Output format. Defaults to markdown."
    • changedInput schema / properties / notes / description
      Previous value: -"Agent notes or us..."New value: +"Agent notes or user feedback to scan for drift while writing."
    • changedInput schema / properties / path / description
      Previous value: -"File path to write. Relative paths are resolved inside cwd;..."New value: +"File path to write. Relative paths are resolved inside cwd; absolute paths must still be inside cwd."
    • changedInput schema / properties / platform / description
      Previous value: -"Target Apple plat..."New value: +"Target Apple platform for Cloud Check."
    • changedInput schema / properties / projectName / description
      Previous value: -"Project name for..."New value: +"Project name for guard/session reports."
    • changedInput schema / properties / sessionToken / description
      Previous value: -"Current axint.ses..."New value: +"Current axint.session.start token, if already known."
    • changedInput schema / properties / validateSwift / description
      Previous value: -"Whether to run Sw..."New value: +"Whether to run Swift validation for .swift files. Defaults to true."
  2. Changed13 schema fields changedv0.4.34
    • changedInput schema / properties / cloudCheck / description
      Previous value: -"Whether to run Cloud Check for .swift files. Defaults to true."New value: +"Whether to run Cl..."
    • changedInput schema / properties / createDirs / description
      Previous value: -"Whether to create parent directories before writing. Defaults to true."New value: +"Whether to create..."
    • changedInput schema / properties / cwd / description
      Previous value: -"Project root. Defaults to the MCP process cwd."New value: +"Project root. Def..."
    • changedInput schema / properties / expectedVersion / description
      Previous value: -"Expected Axint version for this project."New value: +"Expected Axint ve..."
    • changedInput schema / properties / format / description
      Previous value: -"Output format. Defaults to markdown."New value: +"Output format. De..."
    • changedInput schema / properties / notes / description
      Previous value: -"Agent notes or user feedback to scan for drift while writing."New value: +"Agent notes or us..."
    • changedInput schema / properties / path / description
      Previous value: -"File path to write. Relative paths are resolved inside cwd; absolute paths must still be inside cwd."New value: +"File path to write. Relative paths are resolved inside cwd;..."
    • changedInput schema / properties / platform / description
      Previous value: -"Target Apple platform for Cloud Check."New value: +"Target Apple plat..."
    • changedInput schema / properties / projectName / description
      Previous value: -"Project name for guard/session reports."New value: +"Project name for..."
    • changedInput schema / properties / sessionToken / description
      Previous value: -"Current axint.session.start token, if already known."New value: +"Current axint.ses..."
    • changedInput schema / properties / validateSwift / description
      Previous value: -"Whether to run Swift validation for .swift files. Defaults to true."New value: +"Whether to run Sw..."
    • removedOutput schema / properties / isError / description
      Removed value: -"Whether Axint marked the tool response as an error."
    • removedOutput schema / properties / text / description
      Removed value: -"Primary Axint tool response text, matching the first text content block."
  3. Changed6 schema fields changedv0.4.28
    • changedInput schema / properties / cloudCheck / description
      Previous value: -"Whether to run Cloud Check for .swift files...."New value: +"Whether to run Cloud Check for .swift files. Defaults to true."
    • changedInput schema / properties / createDirs / description
      Previous value: -"Whether to create parent directories before..."New value: +"Whether to create parent directories before writing. Defaults to true."
    • changedInput schema / properties / notes / description
      Previous value: -"Agent notes or user feedback to scan for..."New value: +"Agent notes or user feedback to scan for drift while writing."
    • changedInput schema / properties / path / description
      Previous value: -"File path to write. Relative paths are..."New value: +"File path to write. Relative paths are resolved inside cwd; absolute paths must still be inside cwd."
    • changedInput schema / properties / sessionToken / description
      Previous value: -"Current axint.session.start token, if..."New value: +"Current axint.session.start token, if already known."
    • changedInput schema / properties / validateSwift / description
      Previous value: -"Whether to run Swift validation for .swift..."New value: +"Whether to run Swift validation for .swift files. Defaults to true."
  4. Addedv0.4.26

TDQS

A4.8/5.0
Behavior5/5

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

Discloses all side effects: writes file, may create directories, validates Swift, records guard/check artifacts. Annotations provide no contradiction; description adds meaningful context.

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-loaded with purpose, uses structured sentences. Slightly wordy but no redundant information; each sentence adds value.

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?

Given high schema coverage and existing output schema, description covers use case, inputs, and effects completely. No gaps for an AI agent to select and invoke correctly.

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 baseline 3. Description adds value by stating defaults for createDirs, validateSwift, cloudCheck (default true) and path constraint (must be inside cwd).

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?

Clearly states the tool writes files in Xcode project via the Axint guard path. Specifically distinguishes from raw XcodeWrite, indicating a guarded, validated write with proof recording.

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?

Explicitly states when to use (during long tasks, for Xcode-project files) and when not (outside Xcode, patch normally and validate after). Provides clear alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/agenticempire/axint'

If you have feedback or need assistance with the MCP directory API, please join our Discord server