Skip to main content
Glama

log_attempt

Record your LeetCode problem attempts with details like solved status, insights, mistakes, and confidence to enable personalized interview coaching.

Instructions

This tool LOG'S A USER'S ATTEMPT AT A LEETCODE PROBLEM.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
solvedYes
insightNo
mistakeNo
confidenceNo
time_takenNo
final_notesNo
leetcode_idYes
initial_approachNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden, yet it only implies a write action. It never states whether logging is idempotent, whether an existing attempt is overwritten, what permissions are needed, or what happens to unset optional fields.

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

Conciseness3/5

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

It is a single front-loaded sentence with no wasted clauses, which is appropriate in size. But the all-caps styling and the stray apostrophe in "LOG'S" hurt readability and professionalism without adding emphasis value.

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

Completeness2/5

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

For an 8-parameter mutation tool with no annotations, the description is far too thin; the agent is given none of the field semantics or write-behavior context. The existence of an output schema reduces the need to explain return values, but that is the only mitigating factor.

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

Parameters1/5

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

There are 8 parameters with 0% schema description coverage, and the description adds no meaning for any of them—not leetcode_id, solved, confidence, time_taken, or the free-text fields. It neither clarifies types/ranges nor explains which fields matter for which outcome.

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

Purpose4/5

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

The description names a specific verb (logs) and resource (a user's attempt at a LeetCode problem), which is clearer than a mere restatement of the name. However, it does nothing to distinguish itself from read-oriented siblings such as get_attempt_history or get_recent_attempts, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternative tools for viewing past attempts. The agent must infer entirely from the name that this is the write path while its siblings are the read paths.

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