Skip to main content
Glama

services_get_expiring

Read-onlyIdempotent

Retrieve services nearing their expiration date to identify upcoming renewals and prevent unintended service lapses.

Instructions

Get services that are about to expire GET /services/expiring

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "services_get_expiring"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish that this is a safe, read-only, idempotent, open-world operation. The description adds the concrete GET /services/expiring operation and its retrieval scope, but does not clarify the expiry horizon, result ordering or pagination, or behavior when no services qualify.

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?

The description front-loads the tool's selection scope and adds only a compact endpoint line. It contains no filler, repetition, or unnecessary parameter discussion.

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

Completeness3/5

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

For a zero-parameter read operation, this is sufficient to invoke the tool, and the annotations cover its safety profile. However, with no output schema, the undefined meaning and time horizon of "about to expire" leave an important selection and result-interpretation gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are no input parameters, so there is no parameter syntax or terminology requiring explanation. The empty schema and fixed endpoint consistently convey a zero-argument request with server-defined expiring-service scope.

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 clear verb, resource, and narrowing condition: retrieving services that are about to expire. The endpoint reinforces that scope, but the description does not explicitly differentiate this operation from broader service-retrieval siblings or define service expiration.

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 wording implies using this tool when an agent needs soon-to-expire services rather than a general service collection. It provides no explicit when-not guidance, expiration threshold, or alternative for retrieving services outside that scope.

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

Deploy Server

Other Tools