Skip to main content
Glama

get_upcoming_renewals

Get contracts with upcoming renewal dates within a specified number of days

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

Input Schema

NameRequiredDescriptionDefault
sort_byNodate
min_valueNo
days_aheadNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden and delivers very little: it does not say whether this is a read-only operation (implied but unstated), whether results are paginated or capped, how sorting behaves, or what happens when days_ahead exceeds the schema's 365-day maximum. Only the notion of a date-window filter is communicated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or redundancy. Its brevity is efficient structurally, even though the missing content is penalized under other dimensions.

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

Completeness2/5

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

For a three-parameter, zero-coverage, unannotated tool with no output schema, the description is too thin: it omits the value-threshold filter, the sort options, and any indication of result shape or size. An agent could invoke it, but not confidently or optimally.

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

Parameters2/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 compensate for all three parameters, yet it only gestures at days_ahead ("specified number of days"). Neither sort_by (date vs value) nor min_value is mentioned, leaving two of three parameters with no meaning beyond their names and defaults.

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 names a specific verb and resource ("Get contracts") and a concrete scope ("upcoming renewal dates within a specified number of days"), so an agent can tell it retrieves a filtered contract list rather than alerts or recommendations. It stops short of explicitly differentiating itself from close siblings like get_renewal_recommendations or get_compliance_alerts.

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

Usage Guidelines2/5

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

There is no statement of when to choose this tool over get_renewal_recommendations, get_compliance_alerts, or list_contracts, and no exclusions or prerequisites. Usage must be inferred entirely from the phrase "upcoming renewal dates".

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