{"at":"2026-11-23T02:29:29.552Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T02:29:29.914Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T02:29:30.015Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T02:29:30.399Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true},"tools":{"listChanged":true}},"instructions":"Select an explicit TAP service, inspect availability and relevant table and column metadata before writing service-specific ADQL, and execute a small bounded query. On schema or syntax failure, re-inspect metadata before retrying. Report the exact service, table, ADQL, effective limit, output format, and assumptions. Never present a service error as an empty scientific result. Do not provide credentials.","protocolVersion":"2025-11-25","serverInfo":{"icons":[{"mimeType":"image/png","sizes":["512x512"],"src":"https://raw.githubusercontent.com/starfetch-js/starfetch/main/assets/starfetch-icon-512.png"}],"name":"starfetch","title":"Starfetch","version":"0.3.0"}}}}
{"at":"2026-11-23T02:29:30.399Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T02:29:30.399Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T02:29:30.404Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"List built-in TAP service presets before selecting an explicit target for metadata inspection.","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"starfetch_list_presets","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"data":{"items":{"additionalProperties":false,"properties":{"label":{"type":"string"},"name":{"type":"string"},"syncRequest":{"const":"doQuery","type":"string"},"url":{"type":"string"}},"required":["name","url"],"type":"object"},"type":"array"},"diagnostics":{"additionalProperties":false,"properties":{"count":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["count"],"type":"object"}},"required":["data","diagnostics"],"type":"object"},"title":"List TAP presets"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Search VO registry metadata when no built-in preset fits; inspect the selected service before querying it.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"maxrec":{"description":"TAP MAXREC row limit for registry results.","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"query":{"description":"Registry search text.","minLength":1,"type":"string"},"registryUrl":{"description":"Explicit RegTAP service URL.","minLength":1,"type":"string"}},"type":"object"},"name":"starfetch_registry_search","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"data":{"items":{"additionalProperties":false,"properties":{"accessUrl":{"type":"string"},"description":{"type":"string"},"ivoid":{"type":"string"},"shortName":{"type":"string"},"standardId":{"type":"string"},"title":{"type":"string"}},"required":["accessUrl","ivoid","standardId","title"],"type":"object"},"type":"array"},"diagnostics":{"additionalProperties":false,"properties":{"count":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"registryUrl":{"type":"string"}},"required":["count","registryUrl"],"type":"object"}},"required":["data","diagnostics"],"type":"object"},"title":"Search TAP registry"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Check whether the selected TAP service reports itself available; an unavailable service is not an empty catalog result.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"service":{"description":"Known Starfetch TAP service preset selected for this workflow; use this or url.","minLength":1,"type":"string"},"url":{"description":"Explicit TAP base URL selected for this workflow; use this or service.","minLength":1,"type":"string"}},"type":"object"},"name":"starfetch_tap_availability","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"available":{"type":"boolean"},"message":{"type":"string"}},"required":["available"],"type":"object"},"diagnostics":{"additionalProperties":false,"properties":{"target":{"additionalProperties":false,"properties":{"baseUrl":{"type":"string"},"label":{"type":"string"},"service":{"type":"string"}},"required":["baseUrl"],"type":"object"}},"required":["target"],"type":"object"}},"required":["data","diagnostics"],"type":"object"},"title":"Read TAP availability"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Inspect the selected TAP service's languages, formats, and authentication requirements before using service-specific features.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"service":{"description":"Known Starfetch TAP service preset selected for this workflow; use this or url.","minLength":1,"type":"string"},"url":{"description":"Explicit TAP base URL selected for this workflow; use this or service.","minLength":1,"type":"string"}},"type":"object"},"name":"starfetch_tap_capabilities","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"auth":{"enum":["anonymous","mixed","unsupported-auth"],"type":"string"},"formats":{"items":{"type":"string"},"type":"array"},"languages":{"items":{"type":"string"},"type":"array"}},"required":["auth","formats","languages"],"type":"object"},"diagnostics":{"additionalProperties":false,"properties":{"target":{"additionalProperties":false,"properties":{"baseUrl":{"type":"string"},"label":{"type":"string"},"service":{"type":"string"}},"required":["baseUrl"],"type":"object"}},"required":["target"],"type":"object"}},"required":["data","diagnostics"],"type":"object"},"title":"Read TAP capabilities"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List tables on the selected TAP service before choosing an exact table for ADQL.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"service":{"description":"Known Starfetch TAP service preset selected for this workflow; use this or url.","minLength":1,"type":"string"},"url":{"description":"Explicit TAP base URL selected for this workflow; use this or service.","minLength":1,"type":"string"}},"type":"object"},"name":"starfetch_tap_tables","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"data":{"items":{"additionalProperties":false,"properties":{"description":{"type":"string"},"name":{"type":"string"},"schema":{"type":"string"}},"required":["name"],"type":"object"},"type":"array"},"diagnostics":{"additionalProperties":false,"properties":{"count":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"target":{"additionalProperties":false,"properties":{"baseUrl":{"type":"string"},"label":{"type":"string"},"service":{"type":"string"}},"required":["baseUrl"],"type":"object"}},"required":["target","count"],"type":"object"}},"required":["data","diagnostics"],"type":"object"},"title":"List TAP tables"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Inspect names, datatypes, units, and descriptions for an exact metadata-discovered table before constructing ADQL.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"service":{"description":"Known Starfetch TAP service preset selected for this workflow; use this or url.","minLength":1,"type":"string"},"table":{"description":"Exact TAP table name returned by prior metadata inspection.","minLength":1,"type":"string"},"url":{"description":"Explicit TAP base URL selected for this workflow; use this or service.","minLength":1,"type":"string"}},"required":["table"],"type":"object"},"name":"starfetch_tap_columns","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"data":{"items":{"additionalProperties":false,"properties":{"datatype":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"ucd":{"type":"string"},"unit":{"type":"string"}},"required":["name"],"type":"object"},"type":"array"},"diagnostics":{"additionalProperties":false,"properties":{"count":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"table":{"type":"string"},"target":{"additionalProperties":false,"properties":{"baseUrl":{"type":"string"},"label":{"type":"string"},"service":{"type":"string"}},"required":["baseUrl"],"type":"object"}},"required":["target","count","table"],"type":"object"}},"required":["data","diagnostics"],"type":"object"},"title":"List TAP columns"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Run a small bounded synchronous TAP ADQL query after inspecting the exact table and columns. Use TOP in ADQL and/or maxrec, and treat tool errors as failures rather than empty scientific results.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"format":{"description":"MCP result output format.","enum":["votable","csv","tsv","json","jsonl"],"type":"string"},"maxrec":{"description":"TAP MAXREC row limit. Defaults to 100 when omitted.","maximum":9007199254740991,"minimum":0,"type":"integer"},"query":{"description":"Exact metadata-backed ADQL query text. Use TOP for a query-level bound; do not use LIMIT.","minLength":1,"type":"string"},"runId":{"description":"Optional TAP RUNID request value.","minLength":1,"type":"string"},"service":{"description":"Known Starfetch TAP service preset selected for this workflow; use this or url.","minLength":1,"type":"string"},"uploads":{"description":"TAP uploads forwarded to the service; local file paths are not supported.","items":{"anyOf":[{"properties":{"tableName":{"description":"Temporary TAP_UPLOAD table name.","minLength":1,"type":"string"},"uri":{"description":"Remote VOTable URI for TAP upload.","minLength":1,"type":"string"}},"required":["tableName","uri"],"type":"object"},{"properties":{"filename":{"description":"Optional inline VOTable filename.","minLength":1,"type":"string"},"tableName":{"description":"Temporary TAP_UPLOAD table name.","minLength":1,"type":"string"},"votable":{"description":"Inline VOTable XML content.","minLength":1,"type":"string"}},"required":["tableName","votable"],"type":"object"}]},"type":"array"},"url":{"description":"Explicit TAP base URL selected for this workflow; use this or service.","minLength":1,"type":"string"}},"required":["format","query"],"type":"object"},"name":"starfetch_tap_query","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"data":{"oneOf":[{"additionalProperties":false,"properties":{"content":{"type":"string"},"fields":{"items":{"additionalProperties":false,"properties":{"datatype":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"ucd":{"type":"string"},"unit":{"type":"string"},"utype":{"type":"string"}},"required":["name"],"type":"object"},"type":"array"},"format":{"enum":["json","jsonl"],"type":"string"},"overflow":{"type":"boolean"}},"required":["content","fields","format"],"type":"object"},{"additionalProperties":false,"properties":{"content":{"type":"string"},"format":{"enum":["csv","tsv","votable"],"type":"string"}},"required":["content","format"],"type":"object"}]},"diagnostics":{"additionalProperties":false,"properties":{"durationMs":{"minimum":0,"type":"number"},"effectiveMaxrec":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"format":{"enum":["votable","csv","tsv","json","jsonl"],"type":"string"},"query":{"type":"string"},"requestFormat":{"enum":["votable","csv","tsv"],"type":"string"},"runId":{"type":"string"},"target":{"additionalProperties":false,"properties":{"baseUrl":{"type":"string"},"label":{"type":"string"},"service":{"type":"string"}},"required":["baseUrl"],"type":"object"},"uploadCount":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["target","durationMs","effectiveMaxrec","format","requestFormat","query","uploadCount"],"type":"object"}},"required":["data","diagnostics"],"type":"object"},"title":"Run bounded TAP query"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Submit metadata-backed bounded ADQL as an explicit TAP async job when synchronous querying is insufficient. Preserve the exact query and use starfetch_tap_query for small work.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"maxrec":{"description":"TAP MAXREC row limit. Defaults to 100 when omitted.","maximum":9007199254740991,"minimum":0,"type":"integer"},"query":{"description":"Exact metadata-backed ADQL query text. Use TOP for a query-level bound; do not use LIMIT.","minLength":1,"type":"string"},"requestFormat":{"description":"TAP RESPONSEFORMAT request value for the async job result.","enum":["votable","csv","tsv"],"type":"string"},"runId":{"description":"Optional TAP RUNID request value.","minLength":1,"type":"string"},"service":{"description":"Known Starfetch TAP service preset selected for this workflow; use this or url.","minLength":1,"type":"string"},"uploads":{"description":"TAP uploads forwarded to the service; local file paths are not supported.","items":{"anyOf":[{"properties":{"tableName":{"description":"Temporary TAP_UPLOAD table name.","minLength":1,"type":"string"},"uri":{"description":"Remote VOTable URI for TAP upload.","minLength":1,"type":"string"}},"required":["tableName","uri"],"type":"object"},{"properties":{"filename":{"description":"Optional inline VOTable filename.","minLength":1,"type":"string"},"tableName":{"description":"Temporary TAP_UPLOAD table name.","minLength":1,"type":"string"},"votable":{"description":"Inline VOTable XML content.","minLength":1,"type":"string"}},"required":["tableName","votable"],"type":"object"}]},"type":"array"},"url":{"description":"Explicit TAP base URL selected for this workflow; use this or service.","minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"starfetch_tap_submit_job","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string"}},"required":["id","url"],"type":"object"},"diagnostics":{"additionalProperties":false,"properties":{"effectiveMaxrec":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"query":{"type":"string"},"requestFormat":{"enum":["votable","csv","tsv"],"type":"string"},"runId":{"type":"string"},"target":{"additionalProperties":false,"properties":{"baseUrl":{"type":"string"},"label":{"type":"string"},"service":{"type":"string"}},"required":["baseUrl"],"type":"object"},"uploadCount":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["target","effectiveMaxrec","query","uploadCount"],"type":"object"}},"required":["data","diagnostics"],"type":"object"},"title":"Submit TAP async job"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Read the current phase and links for a TAP async job.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"jobIdOrUrl":{"description":"TAP async job id or absolute job URL.","minLength":1,"type":"string"},"service":{"description":"Known Starfetch TAP service preset selected for this workflow; use this or url.","minLength":1,"type":"string"},"url":{"description":"Explicit TAP base URL selected for this workflow; use this or service.","minLength":1,"type":"string"}},"required":["jobIdOrUrl"],"type":"object"},"name":"starfetch_tap_job_status","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"errorUrl":{"type":"string"},"message":{"type":"string"},"phase":{"type":"string"},"resultUrl":{"type":"string"}},"required":["phase"],"type":"object"},"diagnostics":{"additionalProperties":false,"properties":{"job":{"additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string"}},"required":["id","url"],"type":"object"},"target":{"additionalProperties":false,"properties":{"baseUrl":{"type":"string"},"label":{"type":"string"},"service":{"type":"string"}},"required":["baseUrl"],"type":"object"}},"required":["target","job"],"type":"object"}},"required":["data","diagnostics"],"type":"object"},"title":"Read TAP async job status"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Poll a TAP async job until completion, timeout, or terminal failure. This is an explicit wait and never starts a background job.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"backoff":{"description":"Increase the poll interval.","type":"boolean"},"intervalMs":{"description":"Poll interval in milliseconds.","maximum":9007199254740991,"minimum":0,"type":"integer"},"jobIdOrUrl":{"description":"TAP async job id or absolute job URL.","minLength":1,"type":"string"},"maxIntervalMs":{"description":"Maximum backoff interval in milliseconds.","maximum":9007199254740991,"minimum":0,"type":"integer"},"service":{"description":"Known Starfetch TAP service preset selected for this workflow; use this or url.","minLength":1,"type":"string"},"timeoutMs":{"description":"Wait timeout in milliseconds.","maximum":9007199254740991,"minimum":0,"type":"integer"},"url":{"description":"Explicit TAP base URL selected for this workflow; use this or service.","minLength":1,"type":"string"}},"required":["jobIdOrUrl"],"type":"object"},"name":"starfetch_tap_job_wait","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"errorUrl":{"type":"string"},"message":{"type":"string"},"phase":{"type":"string"},"resultUrl":{"type":"string"}},"required":["phase"],"type":"object"},"diagnostics":{"additionalProperties":false,"properties":{"job":{"additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string"}},"required":["id","url"],"type":"object"},"observedPhases":{"items":{"type":"string"},"type":"array"},"target":{"additionalProperties":false,"properties":{"baseUrl":{"type":"string"},"label":{"type":"string"},"service":{"type":"string"}},"required":["baseUrl"],"type":"object"},"timeoutMs":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["target","job","observedPhases","timeoutMs"],"type":"object"}},"required":["data","diagnostics"],"type":"object"},"title":"Wait for TAP async job"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Fetch a TAP async job result. JSON and JSONL conversion supports VOTable, CSV, and TSV rows.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"format":{"description":"MCP result output format.","enum":["votable","csv","tsv","json","jsonl"],"type":"string"},"jobIdOrUrl":{"description":"TAP async job id or absolute job URL.","minLength":1,"type":"string"},"service":{"description":"Known Starfetch TAP service preset selected for this workflow; use this or url.","minLength":1,"type":"string"},"sourceFormat":{"description":"Actual TAP result format for async job output.","enum":["votable","csv","tsv"],"type":"string"},"url":{"description":"Explicit TAP base URL selected for this workflow; use this or service.","minLength":1,"type":"string"}},"required":["jobIdOrUrl","format"],"type":"object"},"name":"starfetch_tap_job_fetch","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"data":{"oneOf":[{"additionalProperties":false,"properties":{"content":{"type":"string"},"fields":{"items":{"additionalProperties":false,"properties":{"datatype":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"ucd":{"type":"string"},"unit":{"type":"string"},"utype":{"type":"string"}},"required":["name"],"type":"object"},"type":"array"},"format":{"enum":["json","jsonl"],"type":"string"},"overflow":{"type":"boolean"}},"required":["content","fields","format"],"type":"object"},{"additionalProperties":false,"properties":{"content":{"type":"string"},"format":{"enum":["csv","tsv","votable"],"type":"string"}},"required":["content","format"],"type":"object"}]},"diagnostics":{"additionalProperties":false,"properties":{"durationMs":{"minimum":0,"type":"number"},"format":{"enum":["votable","csv","tsv","json","jsonl"],"type":"string"},"job":{"additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string"}},"required":["id","url"],"type":"object"},"requestFormat":{"enum":["votable","csv","tsv"],"type":"string"},"sourceFormat":{"enum":["votable","csv","tsv"],"type":"string"},"target":{"additionalProperties":false,"properties":{"baseUrl":{"type":"string"},"label":{"type":"string"},"service":{"type":"string"}},"required":["baseUrl"],"type":"object"}},"required":["target","job","durationMs","format","requestFormat","sourceFormat"],"type":"object"}},"required":["data","diagnostics"],"type":"object"},"title":"Fetch TAP async job result"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Delete a TAP async job from the remote service.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"jobIdOrUrl":{"description":"TAP async job id or absolute job URL.","minLength":1,"type":"string"},"service":{"description":"Known Starfetch TAP service preset selected for this workflow; use this or url.","minLength":1,"type":"string"},"url":{"description":"Explicit TAP base URL selected for this workflow; use this or service.","minLength":1,"type":"string"}},"required":["jobIdOrUrl"],"type":"object"},"name":"starfetch_tap_job_delete","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"deleted":{"const":true,"type":"boolean"},"id":{"type":"string"},"url":{"type":"string"}},"required":["deleted","id","url"],"type":"object"},"diagnostics":{"additionalProperties":false,"properties":{"job":{"additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string"}},"required":["id","url"],"type":"object"},"target":{"additionalProperties":false,"properties":{"baseUrl":{"type":"string"},"label":{"type":"string"},"service":{"type":"string"}},"required":["baseUrl"],"type":"object"}},"required":["target","job"],"type":"object"}},"required":["data","diagnostics"],"type":"object"},"title":"Delete TAP async job"}]}}}
