Manage GLPI financial data: contracts, costs, budgets, depreciation, and warranties. Trigger: When the AI needs to work with contracts, purchase costs, budgets, asset depreciation, warranty tracking, or financial reporting.
Use itemtype="Contract" for contract CRUD. Contracts are linked to assets via the asset's include — not stored on the contract itself.
Purchase cost, warranty end date, and budget fields are on the asset itemtype (Computer, etc.), not on a separate financial itemtype. Use glpi_get with include=["contract"] to see contract links.
Budget tracking is separate from contracts. Use to query budgets and link them to assets.
glpi_search(itemtype="Budget")Use glpi_warranty_report to get warranty status (active/expired/expiring_soon) for all hardware assets. No need to compute warranty dates manually.
Use glpi_cost_summary to get purchase costs by asset type, contract costs, and budget allocations in a single call.
Use glpi_expiration_tracker to check all expiring items (contracts, warranties, certificates) across multiple itemtypes at once.
Financial fields have unique UIDs. Always call glpi_list_fields for Contract, Budget, or the specific asset type before querying.
| Tool | Purpose |
|---|---|
glpi_search | Search contracts, budgets, or financial fields on assets |
glpi_get | Get contract details or asset financial info |
glpi_list_fields | Discover fields for Contract, Budget, or asset types |
glpi_create | Create contracts or budgets |
glpi_update | Update contract or budget details |
glpi_update_by_name | Update contract by exact name |
glpi_delete | Remove contracts or budgets |
glpi_global_search | Search across financial types at once |
glpi_warranty_report | Get warranty status report for all hardware assets |
glpi_cost_summary | Get cost aggregation across assets, contracts, budgets |
glpi_expiration_tracker | Check contract and warranty expiration dates |
# Discover fields for contracts
glpi_list_fields(itemtype="Contract")
# Search contracts by name
glpi_search(itemtype="Contract", criteria=[{"field_name":"Contract.name","searchtype":"contains","value":"maintenance"}])
# Get contract details
glpi_get(itemtype="Contract", id=7)
# Get computer with contract info
glpi_get(itemtype="Computer", id=5, include=["contract"])
# Search budgets
glpi_search(itemtype="Budget", criteria=[{"field_name":"Budget.name","searchtype":"contains","value":"2026"}])
# Create a contract
glpi_create(itemtype="Contract", data={"name":"Support Contract","begin_date":"2026-01-01","end_date":"2026-12-31","cost":"5000"})
# Update contract by name
glpi_update_by_name(itemtype="Contract", name="Support Contract", data={"cost":"5500"})
# Search contracts expiring soon (requires field discovery first)
glpi_search(itemtype="Contract", criteria=[{"field_name":"Contract.end_date","searchtype":"less","value":"2026-06-30"}])
# Global search across financial types
glpi_global_search(query="warranty", itemtypes=["Contract","Budget"])
# Get warranty status for all hardware assets
glpi_warranty_report()
# Get cost summary across all asset types
glpi_cost_summary()
# Check all expiring contracts and warranties
glpi_expiration_tracker(days_ahead=90, itemtypes=["Contract","Computer","NetworkEquipment"])