Skip to main content
Glama

get_agent

Read-onlyIdempotent

Fetch a single LastPing agent's monitoring details and live status rollup by UUID, so you can verify the health of cron jobs, CI/CD pipelines, and AI agent runs.

Instructions

Get a single LastPing agent by UUID. Returns the same fields as list_agents, including its live status rollup. Use list_agents to find valid IDs, or register_agent to create one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesAgent UUID (from register_agent or list_agents).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so safety behavior is covered. The description adds useful behavioral context by stating the return shape matches list_agents and includes the live status rollup, which is not inferable from annotations or the minimal schema.

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 focused sentences with no filler. The primary behavior is stated immediately, and the usage hints are concise and actionable.

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

Completeness5/5

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

For a single-parameter read-only tool, the description plus annotations and schema fully cover operation semantics, valid ID sources, and return-shape expectations. No output schema exists, but referencing list_agents' fields is sufficient context for an agent to understand the response.

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 100%; the id parameter is already described as 'Agent UUID (from register_agent or list_agents).' The description mostly repeats this in prose ('by UUID') without adding new format, validation, or default information, so a baseline score of 3 is appropriate.

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

Purpose5/5

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

The description clearly states the specific action ('Get a single LastPing agent by UUID') and distinguishes it from list_agents by emphasizing 'single' and from mutation tools like update_agent/delete_agent. It also specifies the resource type and return-scope detail (same fields as list_agents, including live status rollup).

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

Usage Guidelines4/5

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

The description explicitly directs the agent to use list_agents to find valid IDs and register_agent to create one, making the typical read flow clear. It does not explicitly contrast with update_agent/delete_agent, but sibling names plus the read-only annotation make the intended use clear.

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

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/tp322d/lastping-app'

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