Skip to main content
Glama

p6_float_analysis

Read-onlyIdempotent

Analyze total and free float distribution of open activities from the last F9, with configurable buckets and stats, to spot critical and negative-float work.

Instructions

Total and free float distribution of the open activities (not completed, LOE and WBS summary left out) of the last F9, in days of each activity's calendar. Buckets from edges_days (default -20, -10, -5, 0, 5, 10, 20, 44; 0 is always added): below the first edge, [a, b) below zero, exactly 0, (a, b] above zero, above the last edge, so every value falls in exactly one bucket (compared in hours, never rounded). Each bucket: total_float and free_float counts, their % of the activities, and samples (the limit lowest floats, default 5, from offset). no_value counts activities without a float; all_ranges_covered checks that bucket counts plus no_value equal the activities. stats: min, max, mean and median in days, total floats that are not whole days, negative, zero, critical (project definition). include_milestones=False leaves milestones out; wbs_name_contains and code_type / code_value / include_child_codes filter as in p6_query_activities (code_filter in the result, as there).

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": {
      "project": "<project>"
    },
    "name": "p6_float_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows per page (max 200).
offsetNoRows to skip (next_offset of the previous page).
projectYesProject ID (p6_list_projects).
code_typeNo
code_valueNo
edges_daysNoBucket edges in days, increasing; 0 is always added.
wbs_name_containsNo
include_milestonesNo
include_child_codesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changedv4.2.0
    • removedInput schema / properties / code_type / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / code_type / default
      Removed value: -null
    • addedInput schema / properties / code_type / type
      Added value: +"string"
    • removedInput schema / properties / code_value / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / code_value / default
      Removed value: -null
    • addedInput schema / properties / code_value / type
      Added value: +"string"
    • removedInput schema / properties / edges_days / anyOf
      Removed value: -[
      -  {
      -    "description": "Bucket edges in days, increasing; 0 is always added.",
      -    "items": {
      -      "type": "number"
      -    },
      -    "minItems": 1,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / edges_days / default
      Removed value: -null
    • addedInput schema / properties / edges_days / description
      Added value: +"Bucket edges in days, increasing; 0 is always added."
    • addedInput schema / properties / edges_days / items
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / edges_days / minItems
      Added value: +1
    • addedInput schema / properties / edges_days / type
      Added value: +"array"
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Rows per page (max 200).",
      +  "maximum": 200,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Rows to skip (next_offset of the previous page).",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedInput schema / properties / project / description
      Previous value: -"Project ID as shown in P6 (p6_list_projects)."New value: +"Project ID (p6_list_projects)."
    • removedInput schema / properties / sample_size
      Removed value: -{
      -  "default": 5,
      -  "description": "Sample rows per check (max 50).",
      -  "maximum": 50,
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • removedInput schema / properties / wbs_name_contains / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / wbs_name_contains / default
      Removed value: -null
    • addedInput schema / properties / wbs_name_contains / type
      Added value: +"string"
  2. Changed9 schema fields changedv3.5.0
    • removedInput schema / properties / code_type / title
      Removed value: -"Code Type"
    • removedInput schema / properties / code_value / title
      Removed value: -"Code Value"
    • removedInput schema / properties / edges_days / title
      Removed value: -"Edges Days"
    • removedInput schema / properties / include_child_codes / title
      Removed value: -"Include Child Codes"
    • removedInput schema / properties / include_milestones / title
      Removed value: -"Include Milestones"
    • removedInput schema / properties / project / title
      Removed value: -"Project"
    • removedInput schema / properties / sample_size / title
      Removed value: -"Sample Size"
    • removedInput schema / properties / wbs_name_contains / title
      Removed value: -"Wbs Name Contains"
    • removedInput schema / title
      Removed value: -"p6_float_analysisArguments"
  3. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial computation semantics: bucket edges and defaults, half-open interval rules, the guarantee that every value lands in exactly one bucket, hours-based comparison without rounding, and the no_value/all_ranges_covered consistency check. The one weak spot is the parenthetical about samples being 'the limit lowest floats, default 5, from offset', which muddles how limit/offset relate to paging versus sampling.

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?

Purpose and scope are front-loaded in the first sentence, and every clause carries information. The structure, however, is a single dense run-on with stacked parentheticals, making bucket rules, sample rules and stats hard to parse at a glance.

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 complex analytical tool with no output schema, the description does the heavy lifting: it explains bucket counts, percentages, samples, no_value, the all_ranges_covered invariant, and the stats block (min/max/mean/median, non-whole-day floats, negative, zero, critical). Remaining gaps are the ambiguous sample/paging interaction and unexplained domain terms such as 'last F9'.

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 44% across 9 parameters, so the description must compensate; it does so well for edges_days (default edge list, 0 always added, comparison in hours), include_milestones, and the code/wbs filters it defers to p6_query_activities. But limit and offset are described in a way that conflicts with the schema's 'rows per page / rows to skip' meaning by tying them to sample selection, and the required 'project' parameter is never explained in the description.

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 names a specific computation (total and free float distribution) over a precisely scoped population: open activities in the last F9, excluding completed, LOE and WBS summary rows. An agent can tell this is a float-histogram tool rather than a plain activity query. It does not explicitly contrast itself with siblings such as p6_critical_path, referencing p6_query_activities only for filter semantics.

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?

Usage is implied by the scope statement (float distribution over the last F9), so an agent can infer this is the tool for float/criticality spread questions. However, there is no explicit when-to-use/when-not guidance, no statement about prerequisites such as needing a project ID from p6_list_projects, and no routing to alternatives for related questions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.