Skip to content

MCP-1C: Define MCP tool schemas, routing, and bounded response contracts #60

Description

@Atharva-Kanherkar

MCP-1C: Define MCP tool schemas, routing, and bounded response contracts

Summary

Lock the tool contracts before transport work starts so the MCP layer has stable, typed request/response models and bounded outputs for host clients with tool and token limits.

Scope

  • typed request/response models for the MCP tool surface
  • shared success/error envelope
  • serializers for memory records, contradiction candidates, procedural matches, and forgetting reports
  • get_memory(memory_type, record_id) routing
  • explicit store-first-then-contradiction-check ordering for remember_fact
  • truncation controls for large forgetting reports

Acceptance Criteria

  • all tools return machine-readable structured output
  • errors are stable and typed
  • forgetting preview/run responses cap decisions and report truncation
  • recall_procedures is explicitly backed by ProceduralStore.get_best_procedure_matches()
  • recall_episodes covers recent, session, and time_range without extra recall tools

Dependencies

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions