Skip to main content
Glama

get_submissions_by_date

Fetch all LeetCode CN submissions for the current user on a specific date, defaulting to today in Asia/Shanghai. Includes accepted and failed attempts, plus optional filters by status or language.

Instructions

获取当前登录用户某个自然日的全部 LeetCode 中国站提交。date 默认为 Asia/Shanghai 时区的今天,格式 YYYY-MM-DD;包含 AC 和失败提交。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
limitNo
cursorNo
statusNo
languageNo
timezoneNoAsia/Shanghai
Behavior3/5

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

With no annotations, the description carries the disclosure burden and does reveal non-obvious behavior: the Asia/Shanghai timezone default, YYYY-MM-DD date format, inclusion of both AC and failed submissions, and the 'current user' scope. However, it omits auth requirements, pagination behavior, and what happens with invalid or missing login.

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?

One dense sentence conveys the core action, scope, default date, timezone, format, and inclusion set with no filler. All content earns its place.

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?

For basic use (just a date), the description plus schema defaults are sufficient. But with no output schema and 0% parameter coverage, the description under-specifies pagination, filter values, and authentication-state behavior, so it is not fully complete for advanced invocation.

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

Parameters2/5

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

Schema description coverage is 0%, so the description should compensate. It adds meaning for date (default, timezone, format) and timezone, but says nothing about limit, cursor, status, or language, leaving most parameters semantically underspecified.

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 uses a specific verb ('获取'/'get'), identifies the resource (current logged-in user's LeetCode China submissions), and scopes it to a calendar date. This clearly distinguishes it from siblings like auth_status, get_problem, login, and logout.

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?

It provides clear context: the tool targets the current logged-in user and defaults to Asia/Shanghai today. It does not explicitly name alternatives or when-not-to-use conditions, but there are no directly competing siblings, so the context is sufficient.

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/lkastar/leetcode-mcp'

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