Skip to main content
Glama

forticloud_list_contracts

Read-onlyIdempotent

List support and service contracts with SKU, status, terms, and end date, sorted by soonest expiration, with contract number and status filters.

Instructions

Contracts in Asset Management (support and service contracts) with SKU, status, terms and end date, soonest end first.

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

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return (1-200).
offsetNoRows to skip, for the next page (use nextOffset from the previous result).
statusNoRegistered or Pending.
contract_numberNoOne contract number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already cover readOnly, idempotent, non-destructive and open-world behavior, so the description only needs to add context. It does add one real behavioral trait beyond annotations — the result ordering (soonest end first) — but says nothing about pagination behavior, result volume, or what happens when filters match nothing.

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 dense sentence with zero filler, and the resource is front-loaded ahead of the returned fields and ordering. It reads as a sentence fragment with no verb, which is slightly awkward but costs no comprehension.

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 simple four-parameter, all-optional list tool with no output schema, the description supplies the returned field set and the sort order, which is most of what an agent needs. The missing piece is any statement of when this list should be preferred over the sibling expiry-oriented tool.

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%, including the enum for status and the note to reuse nextOffset, so the schema does the heavy lifting. The description adds no meaning beyond it: the fields it lists (SKU, status, terms, end date) are return attributes, not a guide to how contract_number or status filtering behaves.

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 the specific resource (support and service contracts in Asset Management) and enumerates the returned attributes plus the default ordering, so an agent can tell it apart from list_assets or list_devices. It never states an explicit verb like 'list', leaving the action implied by the name rather than the text.

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 when-to-use guidance, no mention of prerequisites, and no comparison to alternatives such as forticloud_list_expiring, which plausibly overlaps on end-date-driven queries. The only usage signal is the implicit 'soonest end first' ordering, which hints at renewal tracking but is never framed as a use case.

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