Skip to main content
Glama

attempt_log

Logs a learning attempt's task ID, result, elapsed time, hint level, and notes to track progress and coaching decisions; include a separate judge reason when a coach scores it.

Instructions

记一次作答:提示级 / 用时 / 结果。教练判分须提供独立的 judge_reason。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "task_id": "<task_id>",
      "result": "<result>"
    },
    "name": "attempt_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
answerNo
resultYes
task_idYes
elapsed_sNo
judged_byNo
hint_levelNo
judge_reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses one validation coupling (judged_by implies judge_reason) but says nothing about whether attempts are append-only or mutable, whether logging the same task twice creates duplicates, permission/auth needs, or what the tool returns — significant gaps for a write tool.

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

Conciseness4/5

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

Two short sentences with the payload summary front-loaded and the validation caveat second; nothing is padded. The extreme terseness is more under-specification than verbosity, so it is efficient rather than wasteful.

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 write tool with no annotations and no output schema, the description is thin: it does not cover the required task_id, the distinction between answer and note, or the effect of recording a duplicate attempt. It is enough to guess the intent but not enough to call it safely.

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 description coverage is 0% across 8 parameters, so the description must compensate. It adds meaning for hint_level, elapsed_s, result and judge_reason (and implicitly judged_by), but leaves answer, note, and the required task_id entirely unexplained, so roughly half the surface remains undocumented in both places.

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 gives a concrete verb+resource in "记一次作答" (record one attempt) and enumerates the core payload fields (hint level / elapsed time / result). It is clear what the tool writes, though it never contrasts itself with siblings like judge_answer or checkpoint_record, so an agent must infer the boundary itself.

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

Usage Guidelines3/5

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

The second sentence gives a genuine conditional rule — coach/judged scoring must supply a separate judge_reason — which tells the agent when that field becomes mandatory. However there is no guidance on when to call this versus judge_answer or research_log, and no statement of prerequisites or exclusions.

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