Skip to main content
Glama

axint.xcode.guard

Verify session freshness and Axint consistency, then write a guard proof to prevent context compaction and drift during Xcode tasks.

Instructions

Guard an Xcode agent session against context compaction and Axint drift. Checks project memory files, active Axint session, latest Axint Run or guard proof, and long-task freshness. Writes... Use: call around long Xcode tasks, context recovery, broad Swift edits, or before claiming runtime proof. Effects: writes .axint/guard proof and may start a session; does not edit app source or use network.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoProject directory to guard. Defaults to the MCP process cwd.
projectNameNoProject name for the guard report.
expectedVersionNoExpected Axint version for the active project.
platformNoTarget Apple platform, such as macOS, iOS, visionOS, or all.
stageNoCurrent Xcode workflow stage. Defaults to context-recovery.
sessionTokenNoCurrent axint.session.start token, if already known.
modifiedFilesNoFiles in scope for this task.
notesNoAgent/user notes to scan for compaction, drift, forgotten Axint usage, or long-task risk.
lastAxintToolNoLast Axint tool the agent used, e.g. axint.suggest or axint.feature.
lastAxintResultNoShort result from the last Axint tool call.
maxMinutesSinceAxintNoMaximum allowed minutes since latest Axint evidence. Defaults to 10.
autoStartSessionNoWhether to start axint.session.start automatically if no active session exists. Defaults to true.
writeReportNoWhether to write .axint/guard/latest.json and latest.md. Defaults to true.
formatNoOutput format. Defaults to markdown.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesPrimary Axint tool response text, matching the first text content block.
isErrorNoWhether Axint marked the tool response as an error.
Behavior4/5

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

Annotations are mostly false (not read-only, not destructive, not idempotent). The description adds behavioural context: it writes .axint/guard proof, may start a session, and explicitly states it does not edit source or use network. This goes beyond what annotations provide, though could detail side effects more.

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 fairly concise, covering purpose, checks, use cases, and effects in about three sentences. It could be more structured (e.g., bullet points), but it is not verbose and front-loads key information.

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 14 parameters all described and an output schema present, the description covers the tool's behavior and use cases adequately. It explains what it does, when to use it, and its side effects. Some details like error handling or session start behavior could be elaborated, but overall it is sufficient.

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 baseline is 3. The description adds minimal additional meaning beyond what the schema already provides for parameters. It only generally mentions writing a report, which is already implied by the 'writeReport' parameter.

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

Purpose4/5

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

The description clearly states the tool's purpose: guarding against context compaction and Axint drift. It specifies what it checks (project memory, session, guard proof, long-task freshness) and its effects. However, it does not explicitly differentiate from siblings like axint.session.start or axint.run, though the use cases imply distinction.

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?

The description provides explicit usage scenarios: 'call around long Xcode tasks, context recovery, broad Swift edits, or before claiming runtime proof.' It also notes effects and what it does not do. It lacks explicit when-not-to-use or alternative tools, but the provided use cases are clear.

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

Install Server

Other Tools

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