Skip to main content
Glama

fio_get_contracts

Read-onlyIdempotent

Retrieve a user's contracts and filter by status, recent days, or result limit to keep responses focused and manageable.

Instructions

Get contracts for a user. Supports optional filtering by status, recency, and count limit to keep responses manageable.

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

Input Schema

NameRequiredDescriptionDefault
daysNoOnly return contracts created within the last N days
limitNoMaximum number of contracts to return (applied after other filters)
statusNoFilter by contract status, e.g. 'CLOSED', 'FULFILLED', 'PENDING'
userNameNoUsername to query (defaults to the configured FIO_USERNAME)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered. The description adds the useful behavioral note that filters exist 'to keep responses manageable,' implying large payloads, but it does not state default result size, pagination behavior, or what an unfiltered call returns.

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?

Two short sentences with the purpose front-loaded and filters summarized in one clause. Nothing is redundant, though the phrasing is generic boilerplate rather than sharply targeted at this tool's contract domain.

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?

With four optional parameters, full schema coverage, and annotations covering the safety profile, the definition gives an agent enough to invoke it correctly. The only real gap is that no output schema exists and the description does not sketch the returned contract fields or how many are returned by default.

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%, so every parameter already carries its own documentation, including the userName default to the configured FIO_USERNAME. The description paraphrases status, recency and limit but adds no syntax, format, or default detail beyond the schema, so baseline 3 applies.

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?

States a specific verb and resource: 'Get contracts for a user.' An agent can tell it fetches contract records scoped to a user, and it is clearly distinct from siblings like fio_get_contract_concerns or fio_get_contract_shipments by resource name alone. It stops short of explicitly differentiating itself from the closest contract-related siblings.

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?

The second sentence describes what the filters do, not when to choose this tool over alternatives such as fio_get_contract_concerns. There is no statement of when-not to use it, no prerequisite, and no routing to a sibling, so the agent must infer that this is the general contract-listing entry point.

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