Skip to main content
Glama

Geometric profile of a point set

tour_profile
Read-onlyIdempotent

Describe the layout of 3–256 planar points: pairwise distances, nearest-neighbour isolation, centroid spread, PCA collinearity, principal-axis mirror symmetry and a distance histogram, all scale-normalized. Useful to characterize or compare point sets before routing. Rounded fingerprints are descriptive, not proofs of equivalence or method benefit.

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": {
      "points": "<points>"
    },
    "name": "tour_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
pointsYes
reference_distance_fractionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "assumptions": {
      -      "items": {
      -        "maxLength": 512,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "maxItems": 16,
      -      "minItems": 1,
      -      "type": "array"
      -    },
      -    "bounding_diagonal": {
      -      "maximum": 4000000,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "centrality_mean": {
      -      "maximum": 4000000,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "centrality_spread": {
      -      "maximum": 1000,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "close_pair_fraction": {
      -      "maximum": 1,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "collinearity": {
      -      "maximum": 1,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "contract_version": {
      -      "const": "0.2.0",
      -      "type": "string"
      -    },
      -    "descriptors": {
      -      "items": {
      -        "maxLength": 512,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "maxItems": 16,
      -      "minItems": 1,
      -      "type": "array"
      -    },
      -    "distance_histogram": {
      -      "items": {
      -        "maximum": 1,
      -        "minimum": 0,
      -        "type": "number"
      -      },
      -      "maxItems": 8,
      -      "minItems": 8,
      -      "type": "array"
      -    },
      -    "duplicate_pairs": {
      -      "maximum": 32640,
      -      "minimum": 0,
      -      "type": "integer"
      -    },
      -    "elapsed_ms": {
      -      "maximum": 1000000000,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "engine": {
      -      "const": "rust-cpu",
      -      "type": "string"
      -    },
      -    "fingerprint": {
      -      "maxLength": 512,
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "isolation_mean_3nn": {
      -      "maximum": 4000000,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "isolation_ratio": {
      -      "maximum": 4000000,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "limits": {
      -      "items": {
      -        "maxLength": 512,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "maxItems": 16,
      -      "minItems": 0,
      -      "type": "array"
      -    },
      -    "mean_pairwise_distance": {
      -      "maximum": 4000000,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "median_pairwise_distance": {
      -      "maximum": 4000000,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "method": {
      -      "maxLength": 4096,
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "mirror_residual": {
      -      "anyOf": [
      -        {
      -          "maximum": 2,
      -          "minimum": 0,
      -          "type": "number"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "n": {
      -      "maximum": 256,
      -      "minimum": 3,
      -      "type": "integer"
      -    },
      -    "nearest_neighbor": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "mean": {
      -          "maximum": 4000000,
      -          "minimum": 0,
      -          "type": "number"
      -        },
      -        "median": {
      -          "maximum": 4000000,
      -          "minimum": 0,
      -          "type": "number"
      -        },
      -        "min": {
      -          "maximum": 4000000,
      -          "minimum": 0,
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "mean",
      -        "median",
      -        "min"
      -      ],
      -      "type": "object"
      -    },
      -    "notes": {
      -      "items": {
      -        "maxLength": 512,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "maxItems": 16,
      -      "minItems": 0,
      -      "type": "array"
      -    },
      -    "principal_axes_defined": {
      -      "type": "boolean"
      -    },
      -    "provenance": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "client": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "name": {
      -              "type": "string"
      -            },
      -            "version": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "version"
      -          ],
      -          "type": "object"
      -        },
      -        "identity_source": {
      -          "type": "string"
      -        },
      -        "model": {
      -          "type": "null"
      -        },
      -        "server": {
      -          "const": "scorecompute",
      -          "type": "string"
      -        },
      -        "tool": {
      -          "const": "tour_profile",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "tool",
      -        "server",
      -        "client",
      -        "identity_source",
      -        "model"
      -      ],
      -      "type": "object"
      -    },
      -    "statement": {
      -      "maxLength": 4096,
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "work_units": {
      -      "maximum": 32640,
      -      "minimum": 0,
      -      "type": "integer"
      -    }
      -  },
      -  "required": [
      -    "assumptions",
      -    "bounding_diagonal",
      -    "centrality_mean",
      -    "centrality_spread",
      -    "close_pair_fraction",
      -    "collinearity",
      -    "contract_version",
      -    "descriptors",
      -    "distance_histogram",
      -    "duplicate_pairs",
      -    "elapsed_ms",
      -    "engine",
      -    "fingerprint",
      -    "isolation_mean_3nn",
      -    "isolation_ratio",
      -    "limits",
      -    "mean_pairwise_distance",
      -    "median_pairwise_distance",
      -    "method",
      -    "mirror_residual",
      -    "n",
      -    "nearest_neighbor",
      -    "notes",
      -    "principal_axes_defined",
      -    "statement",
      -    "work_units",
      -    "provenance"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed7 schema fields changed
    • changedOutput schema / properties / contract_version / const
      Previous value: -"0.1.0"New value: +"0.2.0"
    • addedOutput schema / properties / mirror_residual / anyOf
      Added value: +[
      +  {
      +    "maximum": 2,
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / mirror_residual / maximum
      Removed value: -2
    • removedOutput schema / properties / mirror_residual / minimum
      Removed value: -0
    • removedOutput schema / properties / mirror_residual / type
      Removed value: -"number"
    • addedOutput schema / properties / principal_axes_defined
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "assumptions",
      -  "bounding_diagonal",
      -  "centrality_mean",
      -  "centrality_spread",
      -  "close_pair_fraction",
      -  "collinearity",
      -  "contract_version",
      -  "descriptors",
      -  "distance_histogram",
      -  "duplicate_pairs",
      -  "elapsed_ms",
      -  "engine",
      -  "fingerprint",
      -  "isolation_mean_3nn",
      -  "isolation_ratio",
      -  "limits",
      -  "mean_pairwise_distance",
      -  "median_pairwise_distance",
      -  "method",
      -  "mirror_residual",
      -  "n",
      -  "nearest_neighbor",
      -  "notes",
      -  "statement",
      -  "work_units",
      -  "provenance"
      -]New value: +[
      +  "assumptions",
      +  "bounding_diagonal",
      +  "centrality_mean",
      +  "centrality_spread",
      +  "close_pair_fraction",
      +  "collinearity",
      +  "contract_version",
      +  "descriptors",
      +  "distance_histogram",
      +  "duplicate_pairs",
      +  "elapsed_ms",
      +  "engine",
      +  "fingerprint",
      +  "isolation_mean_3nn",
      +  "isolation_ratio",
      +  "limits",
      +  "mean_pairwise_distance",
      +  "median_pairwise_distance",
      +  "method",
      +  "mirror_residual",
      +  "n",
      +  "nearest_neighbor",
      +  "notes",
      +  "principal_axes_defined",
      +  "statement",
      +  "work_units",
      +  "provenance"
      +]
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world, non-destructive behavior. The description adds meaningful context by stating results are scale-normalized and that rounded fingerprints are descriptive, not proofs of equivalence or method benefit.

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 front-loaded with the core verb and resource, followed by the feature list, usage context, and interpretive caveat. It is appropriately sized with no obvious filler.

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

Completeness3/5

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

For a moderately complex geometric profiling tool with no output schema, the description lists the metrics but does not describe the return structure or fingerprint shape. It also leaves the reference_distance_fraction parameter undocumented, creating a notable completeness gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must explain both parameters. It clarifies the points are planar and limited to 3–256 items, but it completely omits the optional reference_distance_fraction parameter and does not explain its effect on the distance histogram.

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 and resource: describe the layout of 3–256 planar points, then lists the computed geometric features. It is clearly distinct from routing or analysis siblings, but it does not explicitly name or compare against an alternative tool.

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?

It states a useful context: characterize or compare point sets before routing. This gives clear usage guidance, though it does not state when not to use the tool or name specific alternatives.

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