Skip to main content
Glama

List bags of coffee

list_beans
Read-onlyIdempotent

List coffee beans registered for the account, with status filter. The id on each row is the number this account knows that record by, counting from 1 — safe to show, and what other tools expect back.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoFilter by status: current, archived, or all. Defaults to current.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
beansYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed10 schema fields changed
    • changedOutput schema / properties / beans / items / properties / bag_notes / type
      Previous value: -"string"New value: +[
      +  "null",
      +  "string"
      +]
    • changedOutput schema / properties / beans / items / properties / bag_weight_g / type
      Previous value: -"null"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / beans / items / properties / decaffeinated / type
      Previous value: -"null"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / beans / items / properties / favourite / type
      Previous value: -"null"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / beans / items / properties / grams_remaining / type
      Previous value: -[
      -  "null",
      -  "integer"
      -]New value: +[
      +  "integer",
      +  "null"
      +]
    • addedOutput schema / properties / beans / items / properties / origins / items
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "country": {
      +      "type": "string"
      +    },
      +    "elevation_m": {
      +      "type": "null"
      +    },
      +    "farm": {
      +      "type": "null"
      +    },
      +    "farmer": {
      +      "type": "null"
      +    },
      +    "harvest": {
      +      "type": "null"
      +    },
      +    "percentage": {
      +      "type": "integer"
      +    },
      +    "processing": {
      +      "type": "null"
      +    },
      +    "region": {
      +      "type": "string"
      +    },
      +    "variety": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "country",
      +    "region",
      +    "farm",
      +    "farmer",
      +    "variety",
      +    "processing",
      +    "elevation_m",
      +    "harvest",
      +    "percentage"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / beans / items / properties / rest_window_days_max / type
      Previous value: -"null"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / beans / items / properties / rest_window_days_min / type
      Previous value: -"null"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / beans / items / properties / shots_remaining_dose_g / type
      Previous value: -"number"New value: +[
      +  "integer",
      +  "number"
      +]
    • changedOutput schema / properties / beans / items / properties / shots_remaining_sample / type
      Previous value: -"null"New value: +[
      +  "integer",
      +  "null"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "beans": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "age_verdict": {
      +            "type": "string"
      +          },
      +          "archived": {
      +            "type": "integer"
      +          },
      +          "bag_notes": {
      +            "type": "string"
      +          },
      +          "bag_weight_g": {
      +            "type": "null"
      +          },
      +          "cost": {
      +            "type": "null"
      +          },
      +          "currency": {
      +            "type": "null"
      +          },
      +          "days_off_roast": {
      +            "type": "integer"
      +          },
      +          "days_since_opened": {
      +            "type": "null"
      +          },
      +          "decaffeinated": {
      +            "type": "null"
      +          },
      +          "dial_category": {
      +            "type": "string"
      +          },
      +          "effective_age_days": {
      +            "type": "integer"
      +          },
      +          "favourite": {
      +            "type": "null"
      +          },
      +          "finished": {
      +            "type": "integer"
      +          },
      +          "frozen_days_excluded": {
      +            "type": "integer"
      +          },
      +          "grams_remaining": {
      +            "type": [
      +              "null",
      +              "integer"
      +            ]
      +          },
      +          "id": {
      +            "type": "integer"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "opened_date": {
      +            "type": "null"
      +          },
      +          "origins": {
      +            "type": "array"
      +          },
      +          "process_type": {
      +            "type": "string"
      +          },
      +          "rating": {
      +            "type": "null"
      +          },
      +          "rest_window_days_max": {
      +            "type": "null"
      +          },
      +          "rest_window_days_min": {
      +            "type": "null"
      +          },
      +          "roast_date": {
      +            "type": "string"
      +          },
      +          "roast_level": {
      +            "type": "string"
      +          },
      +          "roaster": {
      +            "type": "string"
      +          },
      +          "shots_remaining": {
      +            "type": "integer"
      +          },
      +          "shots_remaining_basis": {
      +            "type": "string"
      +          },
      +          "shots_remaining_dose_g": {
      +            "type": "number"
      +          },
      +          "shots_remaining_sample": {
      +            "type": "null"
      +          },
      +          "state": {
      +            "type": "string"
      +          },
      +          "storage": {
      +            "type": "null"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "name",
      +          "roaster",
      +          "roast_date",
      +          "roast_level",
      +          "state",
      +          "opened_date",
      +          "archived",
      +          "finished",
      +          "favourite",
      +          "decaffeinated",
      +          "bag_weight_g",
      +          "process_type",
      +          "dial_category",
      +          "rest_window_days_min",
      +          "rest_window_days_max",
      +          "storage",
      +          "bag_notes",
      +          "cost",
      +          "currency",
      +          "rating",
      +          "effective_age_days",
      +          "age_verdict",
      +          "grams_remaining",
      +          "days_since_opened",
      +          "days_off_roast",
      +          "frozen_days_excluded",
      +          "origins"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "beans"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, and non-destructive behavior. The description adds valuable non-obvious behavioral context: row ids are account-local, start at 1, are safe to show, and are what other tools expect. This is genuine information beyond what structured annotations and schema provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no filler. The primary action and scope are front-loaded, and the second sentence provides important ID guidance without excess verbosity.

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 simple read-only list with one optional parameter, a comprehensive enum in the schema, rich annotations, and an output schema, the description is complete. It covers the tool's scope, filtering behavior, and the key ID convention needed for downstream use.

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 coverage is 100%: the status parameter has both an enum and a descriptive default. The description merely refers to 'status filter' without adding parameter-level detail, so baseline 3 is appropriate since the schema carries the full semantic load.

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?

The description opens with a specific verb and resource: 'List coffee beans registered for the account.' It also names the status filter, and the account scoping distinguishes it from sibling list_* tools such as list_shots and list_machines. The matching title 'List bags of coffee' is consistent with the described functionality.

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?

The description makes clear what is being listed and that an optional status filter is available, which gives the agent adequate context for selecting this tool over resource-specific siblings. It does not explicitly state when not to use it, but the distinct resource and schema-provided defaults make the intended usage clear.

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.

TDQS

B3.4/5.0
Disambiguation4/5

Most tools target a clearly distinct resource and action, and the list/register/update/set tool families are easy to tell apart. The closest pair is diagnose_preview and diagnose_shot, which are well-described but similar enough in name that an agent could select the wrong one.

Naming Consistency4/5

The overwhelming majority of tools follow a consistent verb_noun pattern (list_beans, register_grinder, update_shot, set_active). Minor exceptions like grinder_math and kb_changelog lack the imperative verb prefix, but they are readable and do not create real confusion.

Tool Count2/5

34 tools is above the 25+ threshold and feels heavy even though the domain is fairly rich. The many parallel list_* and register_* tools for beans, grinders, machines, scales, waters, programs, and recipes could plausibly be consolidated or trimmed without losing core capability.

Completeness3/5

The core shot lifecycle is well covered: log, update, delete, diagnose, and list shots, plus bean registration and maintenance tracking. However, most registered entities lack update/delete tools, and get_rule has no corresponding list_rules tool, leaving some obvious workflow gaps that agents must work around.

Resources