USERDATA
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| USERDATA_CONFIG | Yes | Path to the userdata.toml configuration file (copied from userdata.example.toml and edited with paths and contact). Used to run the server, e.g. USERDATA_CONFIG=$PWD/userdata.toml uv run userdata serve |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
USERDATA is Michael's research account. At the start of work call start_session (inside a project if there is one) and record what you do with log. Use history to answer "what did we do". Pull data before querying it. Tag filings by accession number and facts by fact_id.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| start_projectC | Starts a project that sessions, lists and notes can belong to. |
| start_sessionC | Opens a working session; pass its session_id to log. |
| logC | Records what happened, e.g. event_type "decision" or "finding". |
| historyC | Returns what was done, newest first, for a session or project. |
| set_preferenceD | Remembers how Michael wants things done. |
| create_listC | Creates a list; list_type is "watchlist" or "peer_group". |
| add_to_listC | Puts a ticker on a watchlist or peer group. |
| remove_from_listB | Takes a ticker off a list; the history keeps that it was there. |
| add_noteC | Writes a note; ticker may be empty. |
| tagC | Tags a "filing" (accession), "fact" (fact_id), "ticker" or "note". |
| save_skillC | Saves a new version of a skill; old versions are kept. |
| start_runC | Starts a run of the latest version of a skill. |
| finish_runC | Ends a run as "ok" or "failed" and keeps its report. |
| define_conceptC | Defines an own XBRL concept as a weighted sum of reported ones. |
| compute_conceptC | Computes an own concept from a company's facts and stores it. |
| pull_companyC | Stores a company's SEC profile and returns it, CIK included. |
| pull_filingsC | Stores the latest filings of one form type, e.g. "10-K" or "8-K". |
| pull_factsC | Stores every XBRL fact SEC holds for a company. |
| pull_pricesC | Stores daily prices for a Yahoo period such as "1y" or "max". |
| pull_statementsC | Stores Yahoo's statements; timescale is yearly, quarterly or trailing. |
| pull_profileC | Stores Yahoo's profile of a company and returns it. |
| query_marketC | Runs one SELECT on the market tables. |
| query_accountB | Runs one read-only SELECT on the account tables. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 23 tools
Most tools target distinct resources and actions, but a few boundaries are softer: pull_company vs pull_profile both retrieve company profiles from different sources, and log vs add_note vs tag/history can be confused by an agent. Descriptions generally clarify these, but not perfectly.
The set mostly follows a verb_noun convention (start_project, create_list, pull_filings, query_market), with a few single-word exceptions like log, history, and tag. The pattern is clear enough to be predictable despite those deviations.
23 tools is on the heavy side, but the server covers several broad domains: SEC/Yahoo ingestion, market/account querying, project/session tracking, lists, notes, skills, and XBRL concepts. The count is large yet each tool has a reasonably clear role.
The surface covers core lifecycle operations across sessions, lists, notes/tagging, skills/runs, concepts, and data pulls, with query_account/query_market providing a read path. Minor gaps remain around direct retrieval or update of some objects like notes, preferences, and concepts without relying on generic queries.