Skip to main content
Glama

Optical App Builder

Log Completed Step

glasses_record_workflow_log
Idempotent

Save a checklist step confirmation or issue flag for an existing smart-glass app. Safe to retry with the same request_id. Cost: free. Auth: none.

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": {
      "app_id": "<app_id>",
      "directive": "<directive>"
    },
    "name": "glasses_record_workflow_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesApp ID returned when the smart-glass app was created (starts with app_).
card_idNoOptional card ID for the step.
verdictNoResult of the step: confirmed (default) or flagged.
directiveYesStep instruction or action being recorded.
request_idNoOptional unique ID so retries do not create duplicate entries.
step_labelNoOptional short step title.
safety_stateNoStatus color: green (default), yellow, or red.
operator_noteNoOptional brief note (do not include personal ID numbers).

Output Schema

NameRequiredDescriptionDefault
okNo
log_entryNo
idempotent_replayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare idempotentHint and destructiveHint=false, but the description adds operational context not present in structured fields: it is free, requires no auth, and specifies that retries are keyed on the same request_id. It does not describe what is created on success or whether entries can be amended or removed, which keeps it below a 5.

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?

Three short clauses with zero filler; the purpose is front-loaded and the retry, cost, and auth facts follow in the order an agent would need them.

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

Completeness4/5

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

With an output schema present, full parameter documentation, and rich annotations, the description covers purpose, prerequisite, retry safety, cost, and auth. The only meaningful omission is what side effects an issue flag produces within the app, which is a minor gap at this complexity.

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%, so all eight parameters, including the two enums and the request_id dedup key, are already documented in the schema. The description's only added semantics is the retry-with-same-request_id rule, which the schema itself already states, so baseline 3 applies.

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?

Names a specific verb ('Save') and resource ('checklist step confirmation or issue flag') scoped to an existing smart-glass app, which clearly separates it from the read-oriented sibling glasses_list_workflow_logs. It stops short of explicitly naming a sibling or stating the boundary condition, so it is clear but not maximally differentiated.

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?

'for an existing smart-glass app' implies the prerequisite that the app must already exist, and the retry note hints at repeat-call behavior. However, there is no explicit when-to-use vs when-not guidance and no pointer to alternatives such as listing logs or updating screens.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources