Skip to main content
Glama
SPerekrestova

Interactive LeetCode MCP

get_all_submissions

Retrieve a paginated list of your submissions for specific problems or all problems on LeetCode, including metadata. Requires authentication.

Instructions

Retrieves a paginated list of the current user's submissions for a specific problem or all problems on LeetCode Global, with detailed submission metadata (requires authentication)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of submissions to return per page (typically defaults to 20 if not specified)
offsetNoNumber of submissions to skip for pagination purposes
questionSlugNoOptional problem identifier (slug) to filter submissions for a specific problem (e.g., 'two-sum'); if omitted, returns submissions across all problems
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Without annotations, the description carries full burden. It discloses authentication and pagination but does not detail side effects, rate limits, ordering, or the exact nature of 'detailed submission metadata'. This is adequate but not thorough.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that front-loads the action and key constraints (pagination, authentication). No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description could explain the return format more. It says 'detailed metadata' but not what fields. However, the parameter descriptions are complete, so overall adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, baseline 3. The description adds that questionSlug filters for a specific problem or all, which matches schema. No added detail on limit/offset format or defaults beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves a paginated list of the current user's submissions, optionally filtered by problem slug. It distinguishes itself from sibling tools like get_recent_submissions by emphasizing 'all submissions' and pagination.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions authentication requirement and implies use for full submission history. However, it does not explicitly compare with siblings like get_recent_submissions or get_recent_ac_submissions, so the when-to-use guidance is strong but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SPerekrestova/interactive-leetcode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server