Skip to main content
Glama

List Line Items

list_line_items
Read-onlyIdempotent

Line items on a booking.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "list_line_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe record's numeric id, from the matching list/get/search tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"The record's numeric id, from the matching list/get/search tool."
  2. First observed

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered structurally. The description adds almost nothing beyond the 'on a booking' scope, saying nothing about ordering, pagination, or what a booking with no line items yields.

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

Conciseness3/5

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

It is certainly terse, with no wasted words, but it is a fragment rather than a structured sentence and the brevity comes from under-specification rather than discipline. There is no front-loaded statement of action or result.

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

Completeness2/5

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

For a list tool with no output schema, the description should convey what comes back and any pagination or ordering behavior; it conveys neither. Annotations cover the read-only safety profile, but the return contract is left entirely to inference.

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% for the single 'id' parameter, so baseline is 3. The phrase 'on a booking' mildly clarifies that the id refers to a booking rather than a line item, which the vague schema text ('from the matching list/get/search tool') does not make explicit, but this is a minor assist.

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

Purpose2/5

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

The description is a noun fragment, 'Line items on a booking.', that largely restates the name and title. It does add the scoping detail that items belong to a booking, but there is no explicit verb or statement of what the tool returns, so an agent gets only marginal information beyond 'list_line_items'.

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?

There is no when-to-use guidance, no mention of when not to use it, and no reference to siblings such as add_line_item, remove_line_item, or update_line_item. An agent must infer from the 'list_' prefix that this is the read path for line items.

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.

Resources