Skip to main content
Glama

note_get

Retrieve complete content of a specific project note using its unique ID to access detailed information for project tracking and management.

Instructions

PROJECT MANAGEMENT (TPM): Get full content of a specific note by ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
note_idYesNote ID

Implementation Reference

  • Registration of the 'note_get' tool in the list_tools() function, including its name, description, and input schema requiring 'note_id'.
    Tool( name="note_get", description="PROJECT MANAGEMENT (TPM): Get full content of a specific note by ID.", inputSchema={ "type": "object", "properties": { "note_id": {"type": "string", "description": "Note ID"}, }, "required": ["note_id"], }, ),
  • Input schema for the note_get tool, defining the required 'note_id' parameter as a string.
    inputSchema={ "type": "object", "properties": { "note_id": {"type": "string", "description": "Note ID"}, }, "required": ["note_id"], },
  • Handler logic in _handle_tool for 'note_get': fetches the note using db.get_note and serializes it to JSON, or returns error if not found.
    if name == "note_get": # Need to add get_note method to db note = db.get_note(args["note_id"]) if not note: return f"Note {args['note_id']} not found" return _json(note.model_dump())
  • Database helper method TrackerDB.get_note that queries the 'notes' table by ID and reconstructs the Note model instance.
    def get_note(self, note_id: str) -> Note | None: row = self.conn.execute("SELECT * FROM notes WHERE id = ?", (note_id,)).fetchone() if row: return Note( id=row["id"], entity_type=row["entity_type"], entity_id=row["entity_id"], content=row["content"], created_at=datetime.fromisoformat(row["created_at"]), ) return None

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/urjitbhatia/tpm-mcp'

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