Skip to main content
Glama

list_discounts

Read-only

List project or task budget discounts with their names and amounts to audit granted discounts. Filter by project or task name, code, or ID; read-only.

Instructions

List discounts (amounts taken off a project's or task's budget) with their names and amounts. Use it to audit what was granted on a project; use get_discount when you already hold one discount id. Read-only. Filters accept project and task names, codes or ids. Without Gryzzly's budget offer every call answers no_permission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many objects to return. Upstream maximum is 1000.
tasksNoKeep only charges of these tasks, by name or id.
offsetNoHow many objects to skip, for the next page.
projectsNoKeep only charges of these projects, by name, code or id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoSet when the answer is worth a word of explanation.
countYesHow many objects match the filters upstream, beyond this page.
itemsYesThe objects.
returnedYesHow many objects this answer carries.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds a valuable behavioral constraint beyond annotations: every call returns no_permission without Gryzzly's budget offer. It does not describe pagination or rate limits, but those are partly covered by the schema.

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?

The description is short and front-loads the purpose before usage, alternatives, and caveats. The standalone 'Read-only.' sentence repeats the readOnlyHint annotation and slightly reduces the otherwise efficient structure.

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

Completeness5/5

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

For a read-only list tool with a full input schema, an output schema, and annotations, the description covers purpose, sibling differentiation, permission prerequisites, and filtering behavior. Return values and pagination details are handled by the output schema and input schema respectively, so nothing essential is missing.

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 the schema already documents all four parameters. The description says filters accept project and task names, codes or ids, which largely mirrors the schema descriptions and adds no new syntax or defaults beyond what is already structured.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List discounts') and clarifies the domain object as amounts taken off a project's or task's budget. It explicitly distinguishes from the sibling get_discount and names what is returned ('their names and amounts').

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

Usage Guidelines5/5

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

Gives explicit when-to-use guidance ('audit what was granted on a project') and names the alternative ('use get_discount when you already hold one discount id'). It also states the prerequisite for any successful call ('Without Gryzzly's budget offer every call answers no_permission'), leaving little to inference.

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