Skip to main content
Glama

sync_codex_session

Sync Codex CLI session logs to a feature and calculate consumed token usage delta, enabling structured development learning reviews.

Instructions

[MCP Tool] Codex CLI 세션 로그(.jsonl)를 기능에 연동하고 소모된 토큰 사용량 차이(Delta)를 계산합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
phaseNoupdate
feature_idYes
session_fileYes
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral transparency burden. It states that the tool connects a session file to a feature and computes a token delta, but it does not disclose side effects, whether data is mutated, permission requirements, reversibility, or what the response contains. This is a significant gap for a tool with no annotations and no output schema.

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 a single sentence that conveys the core operation without unnecessary elaboration. The '[MCP Tool]' prefix is minor namespace noise, but the rest is compact and direct. It earns a high score for conciseness, though it sacrifices detail for brevity.

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

Completeness2/5

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

Given the tool has no annotations, no output schema, and a phase parameter that clearly affects behavior, the description is not complete enough. The agent is left without critical context about what each phase does, what the calculated delta represents, and what the tool returns after execution. This is a materially incomplete definition for a stateful sync operation.

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?

The schema provides only titles for parameters and no descriptions, so coverage is very low. The description adds useful meaning for session_file (a Codex CLI .jsonl log) and feature_id (a feature), and mentions token usage delta, but it does not explain the phase parameter at all. With three parameters and minimal schema documentation, the description only partially compensates.

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 identifies the tool's action: syncing a Codex CLI session log (.jsonl) to a feature and calculating the consumed token usage delta. It names a specific resource and operation, which distinguishes it from the sibling tools (e.g., start_feature, finish_feature) even without explicitly naming them. However, it does not explicitly differentiate itself from any sibling or state what the sync entails.

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 guidance on when this tool should be used, when it should not be used, or how it relates to alternatives like start_feature or finish_feature. The phase enum (start/update/finish) implies lifecycle usage, but the description does not explain which phase applies in which situation, leaving the agent to infer the intended workflow.

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/giseungNoh/AI-learning-mcp'

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