Skip to main content
Glama

gate_record

Records five-dimensional plan gate scores—measurable, feasible, evidence, prereq, and risk (0–5)—for a session and stage, without making pass/fail judgments.

Instructions

记录方案闸门五维分数 measurable、feasible、evidence、prereq、risk,各 0–5。只记录,不判定。

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": {
      "session_id": "<session_id>",
      "stage": "<stage>",
      "dims": "<dims>"
    },
    "name": "gate_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
dimsYes
risksNo
stageYes
reasonsNo
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one important trait: the tool records without judging, so no validation verdict should be expected in return. It does not say whether repeat calls overwrite or append existing scores for a session/stage, nor what the tool returns or requires (session must be open, etc.).

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?

Two short clauses, front-loading the verb and resource, then the scope limit ('only records, does not judge'). No filler; the dimension list is dense but purposeful.

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 a 5-parameter, mutation-style tool with zero schema description coverage, nested objects, an unannotated enum, and no output schema, the definition is thin. It never explains stage codes, the difference between `reasons` and `risks`, or what happens to previously recorded scores, leaving an agent guessing on the majority of the surface.

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%, so the description must compensate, and it partially does by naming the five expected keys inside the free-form `dims` object along with their 0-5 range — information the schema's bare `{"type":"object"}` does not convey. The remaining four parameters are unaddressed, especially `stage`'s enum values B/C/E/F, whose meaning is never explained, and the roles of `reasons` and `risks`.

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 states a specific verb ('记录' / record) and resource (the plan gate's five-dimensional scores), and enumerates the five dimensions (measurable, feasible, evidence, prereq, risk) with their 0-5 range. This lets an agent distinguish it from judging siblings like band_gate or pass_band_manual, though no sibling is named explicitly.

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?

'只记录,不判定' implies usage: call this when scores have already been decided and you only want persistence, not evaluation. However, it never names an alternative tool or states prerequisites (e.g., an open session, a prior gate stage), so the agent must infer routing from siblings' names alone.

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