Skip to content

Token Limits for list-items #42

@marcohamersma

Description

@marcohamersma

I'd like to be able to query list-items with file: queries, but I'm running into the maximum token issues for Claude Code with no way of limiting the response.

Error: MCP tool "list-items" response (56511 tokens) exceeds 
     maximum allowed tokens (25000). Please use pagination, filtering, 
     or limit parameters to reduce the response size.

I noticed there was some recent work to limit the token count for the item-details query, so it would be great to have a functionality to limit the amount of details for list-items as well. One can always use get-item-details to get more info on an occurrence.

This is what I'm hoping for

  • A way of limiting the detail of the results so token limits are respected
  • a Limit parameter to limit amount of search results
  • ideally, also a sort parameter

Thanks for this useful tool, and I hope you can integrate some or all of this feedback.

Best,
Marco

Metadata

Metadata

Assignees

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