Skip to main content
Glama

metrics_metric_timer_stop

Stop a running timer and record its duration in milliseconds to track performance metrics like count, total, min, max, average, and last measurement.

Instructions

[metrics] Stop a running timer and record its duration in milliseconds. Accumulates: count, total_ms, min_ms, max_ms, avg_ms, last_ms. Returns the recorded duration and updated timer state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timer_idYes
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/0-co/agent-friend'

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