Commit 88283c2
auto-experiment: correct the mcp corpus-loading claim — MCP cannot page either
The previous commit said the mcp backend loads the full corpus by paging
get_llmobs_dataset_records until next_cursor is empty. That is wrong. Verified against the live
tool at limit=100: returned 19, truncated true, next_cursor None, with __nested_object__
placeholders. The tool's schema documents next_cursor but the server never populates it, because
the tool posts to the same response-budget endpoint that pup's capped `records` uses. The cap is a
property of the endpoint, not of either client.
Consequences now documented:
* No MCP tool can enumerate a dataset larger than ~19 records. get_llmobs_full_dataset_records
caps at 3 per call and needs the id list you cannot obtain, so it is not a workaround.
* On mcp such a corpus must come from a direct REST call to
GET /api/unstable/llm-obs/v1/datasets/{id}/records paging meta.after — the same route pup
wraps — and the data_note must say so, because it deviates from "every call went through the
backend".
* pup is therefore AHEAD of mcp here, not merely on par: records-all is the only first-class
command for a full dataset. For a large dataset and a single-client run, prefer pup.
Also relevant to earlier runs in this experiment: the two runs labelled "mcp" loaded their 50
records via a direct curl to that REST route, not through an MCP tool, so they were never pure-MCP
runs. The skill now names that deviation instead of leaving it implied.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent abe8191 commit 88283c2
1 file changed
Lines changed: 20 additions & 7 deletions
Lines changed: 20 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | 309 | | |
311 | 310 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
317 | 330 | | |
318 | 331 | | |
319 | 332 | | |
| |||
0 commit comments