Skip to main content
Glama
dpaula

chatgpt-codex-local-mcp

by dpaula

Read chat context memory

read_chat_context_memory
Read-onlyIdempotent

Retrieve the current operational session context from the project's memory file. Provide the absolute project path to access the context.

Instructions

Read docs/memory/contexto-chat.md with current operational session context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxBytesNo
projectPathYesAbsolute project directory path.
Behavior4/5

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

Annotations already indicate read-only, idempotent, and non-destructive behavior. The description adds transparency by specifying the exact file path and its contents, which is useful beyond the annotations. It does not disclose error handling or return format, but this is less critical given the annotations.

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?

The description is a single sentence with no filler, front-loading the primary action and resource. It is concise while including the file's purpose.

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 simple read tool with good annotations and a straightforward schema, the description is complete enough: it names the exact file and the context it contains. It does not cover edge cases like missing files or truncation, but these are implied by the schema and tool type.

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?

The description does not explain parameters directly. The schema provides a description for projectPath and constraints for maxBytes, but the description does not explicitly tie projectPath to the file path. This is adequate but not additive beyond the schema.

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?

The description uses a specific verb ('Read') with a precise resource ('docs/memory/contexto-chat.md') and clarifies content ('current operational session context'). This clearly distinguishes it from sibling memory-read tools like read_onboarding_memory or read_project_memory.

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 conveys a clear use case: when you need the current operational session context. However, it does not explicitly mention alternatives or when not to use this tool, so it falls short of full usage-guidance coverage.

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/dpaula/chatgpt-codex-local-mcp'

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