Skip to main content
Glama

find_bag_gaps

Read-onlyIdempotent

Identifies missing shot shapes and unserved flight slots across BagIQ's 9 core slot targets (putter, midrange, fairway, and distance drivers), ranking voids by severity. Accepts discs list or a BagIQ share link.

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": "find_bag_gaps"
  }
}

Input Schema

NameRequiredDescriptionDefault
discsNoList of discs 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')

Output Schema

NameRequiredDescriptionDefault
gapsYes
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": {
      +    "coverage_percent": {
      +      "type": "number"
      +    },
      +    "gaps": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "interactive_bag_url": {
      +      "type": "string"
      +    },
      +    "unresolved_discs": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "coverage_percent",
      +    "interactive_bag_url",
      +    "gaps",
      +    "unresolved_discs"
      +  ],
      +  "type": "object"
      +}
  2. Changed4 schema fields changed
    • changedInput schema / properties / discs / description
      Previous value: -"List of discs in the bag"New value: +"List of discs 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')",
      +  "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 establish that this is a read-only, idempotent, closed-world analysis with no destructive effect, so the safety profile is covered. The description adds useful behavior beyond that: it works over 9 named core slot targets and returns voids ranked by severity. It stops short of explaining how severity is computed or what a 'flight slot' covers, which would be the remaining value-add.

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?

Two tight sentences with the core purpose front-loaded and the accepted inputs second. Minor redundancy in pairing 'missing shot shapes' with 'unserved flight slots', but nothing extraneous is present.

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?

For a read-only analysis tool with a full output schema and fully documented parameters, the description covers purpose, scope, ranking behavior, and accepted inputs. The only shortfall is leaving 'severity' and the composition of the 9 slot targets undefined for an agent interpreting results.

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 and nested disc field is already documented in the schema. The description only restates input flexibility (discs list or share link), adding no syntax or format detail beyond the schema. Baseline 3 is appropriate where the schema does the heavy lifting.

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 uses a specific verb and resource: 'Identifies missing shot shapes and unserved flight slots' across named slot targets (putter, midrange, fairway, distance drivers), and adds that voids are ranked by severity. That is far more precise than a generic 'analyze bag', though it never names a sibling (analyze_bag, detect_overlap) to draw the boundary explicitly.

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?

'Accepts discs list or a BagIQ share link' tells the agent which input forms are valid, which is genuine usage guidance. However, there is no statement of when to call this versus analyze_bag or detect_overlap, and no exclusions or prerequisites, so the when-to-use decision is only implied by the word 'gaps'.

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