Skip to main content
Glama

analyze_bag

Read-onlyIdempotent

Performs a complete BagIQ analysis on a player's disc golf bag. Can accept a list of discs OR a BagIQ share link (e.g. 'https://app.bagiq.app/?s=4fisr8a7'). Returns slot coverage percentage, bag identity label (e.g. 'Overstable-heavy', 'Chaos bag'), top missing shot gaps, redundant overlaps, and mapped flight coordinates.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
discsNoList of discs currently in the bag (optional if share_url or share_id is provided)
share_idNoOptional BagIQ short share ID (e.g. '4fisr8a7')
share_urlNoOptional BagIQ share link (e.g. 'https://app.bagiq.app/?s=4fisr8a7' or 'https://app.bagiq.app/?discs=...')
preferred_brandNoOptional preferred brand for recommendations (e.g. 'Innova', 'Discraft')

Output Schema

NameRequiredDescriptionDefault
gapsYes
overlapsYes
disc_countYes
source_typeYes
bag_identityYes
mapped_discsYes
recommendationsYes
coverage_percentYes
unresolved_discsYes
interactive_bag_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "bag_identity": {
      +      "type": "object"
      +    },
      +    "coverage_percent": {
      +      "type": "number"
      +    },
      +    "disc_count": {
      +      "type": "integer"
      +    },
      +    "gaps": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "interactive_bag_url": {
      +      "type": "string"
      +    },
      +    "mapped_discs": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "overlaps": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "recommendations": {
      +      "type": "object"
      +    },
      +    "source_type": {
      +      "type": "string"
      +    },
      +    "unresolved_discs": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "coverage_percent",
      +    "bag_identity",
      +    "disc_count",
      +    "source_type",
      +    "interactive_bag_url",
      +    "gaps",
      +    "overlaps",
      +    "mapped_discs",
      +    "recommendations",
      +    "unresolved_discs"
      +  ],
      +  "type": "object"
      +}
  2. Changed4 schema fields changed
    • changedInput schema / properties / discs / description
      Previous value: -"List of discs currently in the bag (1 to 35 discs)"New value: +"List of discs currently in the bag (optional if share_url or share_id is provided)"
    • addedInput schema / properties / share_id
      Added value: +{
      +  "description": "Optional BagIQ short share ID (e.g. '4fisr8a7')",
      +  "type": "string"
      +}
    • addedInput schema / properties / share_url
      Added value: +{
      +  "description": "Optional BagIQ share link (e.g. 'https://app.bagiq.app/?s=4fisr8a7' or 'https://app.bagiq.app/?discs=...')",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "discs"
      -]
  3. First observed

TDQS

A3.5/5.0
Behavior3/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 by structured data. The description adds the accepted share-link formats and a summary of returned analysis categories, but says nothing about cost, latency, or behavior when both discs and a share link are supplied.

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?

Three sentences, front-loaded with purpose, then input modes, then outputs — a logical order with no filler. The parenthetical example URLs and labels are illustrative rather than wasteful.

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?

With an output schema, full annotation coverage, and 100% parameter description coverage, the description only needs to orient the agent on purpose and input modes, which it does. A brief note on precedence when both discs and share_url are provided would close the remaining gap.

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 every parameter is already documented in structured form, establishing a baseline of 3. The description's only added signal is the OR relationship between the disc list and the share link/id, which is already stated in the schema descriptions themselves.

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 — 'Performs a complete BagIQ analysis on a player's disc golf bag' — and enumerates what the analysis yields (slot coverage, bag identity, gaps, overlaps, flight coordinates). It does not explicitly distinguish itself from siblings like find_bag_gaps or detect_overlap, whose concerns it partially claims, leaving some ambiguity about which tool to pick.

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

Usage Guidelines3/5

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

The description clarifies the two accepted input modes (disc list or share link) with a concrete URL example, which implicitly tells the agent when the tool is applicable. However, it offers no explicit when-to-use vs. when-not guidance and never names the alternatives (find_bag_gaps, detect_overlap, build_minimal_bag) that would matter for a full-bag analysis versus a targeted query.

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