Skip to main content
Glama

List expiring

list_expiring
Read-only

Files of the library whose licence has ended or ends within days (default 30), soonest first, with the projects to check. update_asset sets a licence; replace_asset swaps in a new version.

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": "list_expiring"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real behavioral detail beyond that: the default 30-day window, that already-expired licences are included, the soonest-first ordering, and that project references come back with each row.

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 sentences, zero waste. Scope and ordering are front-loaded, and the second sentence is purely routing information to the two remediation siblings rather than filler.

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?

For a single-parameter read tool with annotations and no output schema, the description covers what comes back (files plus the projects to check) and how it is ordered. It stops short of indicating result volume or whether expired versus expiring items are distinguishable in the output.

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 carry the meaning of `days`, and it does supply the default (30) and the window semantics including already-ended licences. It does not state whether the value is a rolling window from today or a hard boundary, and the 0–366 bounds from the schema are left uncommented.

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?

States a specific verb and resource (files whose licence has ended or ends within `days`), plus the return shape (files with the projects to check) and order (soonest first). That makes it immediately distinguishable from the generic list_* siblings, which have no licence-expiry scoping.

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 implicitly establishes the use case (finding lapsed/soon-to-lapse licences) and names the remediation path: update_asset to set a licence, replace_asset to swap in a new version. It gives clear context and next steps, though it never states an explicit when-not or contrasts against a specific listing alternative.

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