Skip to main content
Glama

little-green-light

Search gifts

lgl_search_gifts
Read-only

Search active gifts across the account — e.g. everything received in a date range, or gifts to one fund or campaign. Give date/updated bounds and/or raw terms. Available term fields: date_from / date_to (YYYY-MM-DD), gift_types (in|ni + comma ids, e.g. in|1,7), gift_amount (gte|lte|btw|gt|lt|eq|ne + number[s], e.g. btw|100|1000), payment_types, campaigns, funds, appeals, events, categories (in|ni|bl + comma ids), appeal_types, event_types, constituent_type (0/1), gift_ids, external_gift_ids, created_from / created_to and updated_from / updated_to (YYYY-MM-DDTHH:MM:SSZ). At least one term is required. LGL: GET /api/v1/gifts/search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoSort by name, gift_amount, date, date_created, date_updated, fund, appeal, campaign or gift_type. Append '!' to reverse (e.g. date!).
limitNoNumber of entries to return, 1-100. LGL's default is 25.
termsNoExtra raw LGL search terms, each 'field=value' (combined with AND). See the tool description for the available fields.
expandNoDonor fields to include inline on each gift.
offsetNoStart at this entry (0-based). Use the previous page's next_item. Default 0.
date_toNoGift date to (YYYY-MM-DD).
date_fromNoGift date from (YYYY-MM-DD).
updated_toNoUpdated to (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).
updated_fromNoUpdated from (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

readOnlyHint=true already tells the agent this is a safe read. The description adds real behavioral context beyond that: results are limited to *active* gifts, and at least one filtering term is mandatory, which means this cannot be used as a bare enumeration. Return format and pagination semantics are left unstated.

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?

Purpose and the required-term precondition are front-loaded, and the term-field enumeration is dense but each entry earns its place by teaching operators the schema does not. The single long comma-chained list is a wall of text, which keeps it out of 5 territory.

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 read-only search tool with no output schema, it covers purpose, mandatory input, the term mini-language, and the underlying LGL endpoint. It omits response shape and pagination mechanics, though offset/limit in the schema hints at paging.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description absorbs the semantics of the `terms` parameter: the schema merely says 'See the tool description for the available fields,' and the description then enumerates each field and its operator syntax (gt/lt/btw/in/ni, date formats). That is genuine added meaning above the schema.

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 ('Search active gifts across the account') and gives two concrete usage examples (everything in a date range, or gifts to a fund/campaign). It does not differentiate itself from the sibling lgl_list_constituent_gifts, which is the likely confusion point, so it stops short of 5.

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?

Clearly states how to invoke it (supply date/updated bounds and/or raw `terms`) and enforces a hard precondition ('At least one term is required'). It never names an alternative tool or a when-not condition, so it is clear context without routing guidance.

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.