Skip to main content
Glama

Get Label

GetLabel
Read-only

Full details for one label usage id: order link, carrier, contract, and product used.

Input Schema

NameRequiredDescriptionDefault
labelIdYesLabel usage id (integer)
intentIdNoOptional correlation ID for an existing investigation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / intentId / description
      Previous value: -"Intent ID from RecordUserQuestion"New value: +"Optional correlation ID for an existing investigation"
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the concrete payload facets (order link, carrier, contract, product), but says nothing about not-found behavior or what happens when an invalid id is supplied.

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?

A single sentence, front-loaded with the subject and immediately followed by the returned fields. Nothing is padded and nothing is buried.

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?

There is no output schema, so the description must carry the return-value story; it does so at a high level by naming four payload elements. It is adequate for a simple two-parameter read, though it omits total field coverage and error cases.

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 both parameters are documented in the schema, which sets the baseline at 3. The description reinforces that the key is a 'label usage id', but adds no meaning for the optional intentId correlation parameter beyond what the schema already states.

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?

The description gives a specific verb-resource pair for a single record ('Full details for one label usage id') and enumerates the returned facets: order link, carrier, contract, product. It does not, however, differentiate itself from nearby siblings such as FindLabel or GetLabelsForOrder, so an agent must infer the distinction from names alone.

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?

No statement of when to use this versus FindLabel, GetLabelsForOrder, or ListRecentLabels, and no prerequisites or exclusions. The phrase 'one label usage id' only weakly implies single-record lookup rather than search.

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