Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

get_pull_request_comments response exceeds maximum allowed tokens #425

Closed as not planned
@kaovilai

Description

@kaovilai

Description

When callingget_pull_request_comments on pull requests with many comments, the response can exceed the maximum allowed tokens (25,000), causing the tool to fail.

Steps to Reproduce

  1. Use theget_pull_request_comments MCP tool on a pull request with extensive comment history
  2. The tool returns an error when the response exceeds 25,000 tokens

Expected Behavior

The tool should handle large responses gracefully, either by:

  • Implementing automatic pagination
  • Providing clear pagination parameters in the tool interface
  • Offering filtering options to reduce response size

Actual Behavior

The tool fails with the error:

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

Suggested Solution

Add pagination support or response limiting parameters to theget_pull_request_comments tool to handle pull requests with extensive comment histories.

Metadata

Metadata

Assignees

No one assigned

    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


      [8]ページ先頭

      ©2009-2025 Movatter.jp