Skip to content

[Feature Request] Option to choose small/medium/full docs in get-documentation and doc-section #53

@hjaber

Description

@hjaber

Describe the problem

# claude code
🟢 svelte - get-documentation (MCP)(section: ["kit/remote-functions", "kit/$app-server", "kit/errors"])
└─ ⚠️  A large MCP response (~11.6k tokens), this can fill up context quickly

Problem: get-documentation often returns very large payloads (e.g., ~11k tokens for a few sections), quickly exhausting context.

Request: Provide a way to select small / medium / full documentation when fetching sections via MCP tools/resources.

Rationale: Svelte already ships llms-small.txt, llms-medium.txt, and llms-full.txt; exposing this choice would let users match payload size to their model’s context window and problem scope.

Describe the proposed solution

Parameterize existing tool/resource

{
"variant": { "type": "string", "enum": ["small", "medium", "full"], "default": "full" }
}

Importance

nice to have

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions