Skip to main content
Glama

Decisions

onelence_list_decisions
Read-onlyIdempotent

Every source Decision on a site beyond the briefing's top items: scale first, then hold, then stop. Filter by posture or by type (affiliate for partners).

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

Input Schema

NameRequiredDescriptionDefault
endNoWindow end, inclusive for a date. Defaults to now.
siteNoSite domain (e.g. example.com) or site id. Defaults to the workspace's newest active site.
typeNo
limitNoItems to return (default 25).
startNoWindow start: a date (YYYY-MM-DD) or ISO 8601 date-time. Defaults to 30 days before end.
cursorNonext_cursor from the previous call, for more.
postureNo
response_formatNoconcise (default) keeps what is needed to answer and to chain the next call; detailed returns every field.

Output Schema

NameRequiredDescriptionDefault
dataYes
moreNoHow to fetch the next page, when has_more.
noteYes
objectYes
windowYes
has_moreYes
next_cursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "data": {
      +      "items": {
      +        "properties": {
      +          "analysis_window": {
      +            "anyOf": [
      +              {
      +                "properties": {
      +                  "end": {
      +                    "type": "string"
      +                  },
      +                  "start": {
      +                    "type": "string"
      +                  },
      +                  "timezone": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "start",
      +                  "end",
      +                  "timezone"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "consequence": {
      +            "anyOf": [
      +              {
      +                "properties": {
      +                  "financial": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "if_followed": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "if_ignored": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "primary_risk": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "risk_level": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "time_horizon_days": {
      +                    "anyOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "primary_risk",
      +                  "risk_level",
      +                  "time_horizon_days",
      +                  "if_ignored",
      +                  "if_followed",
      +                  "financial"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "context": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "decision": {
      +            "properties": {
      +              "confidence": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "posture": {
      +                "anyOf": [
      +                  {
      +                    "enum": [
      +                      "scale",
      +                      "hold",
      +                      "stop"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "state": {
      +                "enum": [
      +                  "available",
      +                  "unavailable"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "state",
      +              "posture",
      +              "confidence"
      +            ],
      +            "type": "object"
      +          },
      +          "evidence": {
      +            "properties": {
      +              "blockers": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "completeness": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "missing": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "observed": {
      +                "items": {
      +                  "properties": {
      +                    "currency": {
      +                      "type": "string"
      +                    },
      +                    "label": {
      +                      "type": "string"
      +                    },
      +                    "value": {
      +                      "anyOf": [
      +                        {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "number"
      +                            },
      +                            {
      +                              "type": "boolean"
      +                            }
      +                          ]
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "label",
      +                    "value"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "reliability": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "reviewed": {
      +                "items": {
      +                  "properties": {
      +                    "currency": {
      +                      "type": "string"
      +                    },
      +                    "label": {
      +                      "type": "string"
      +                    },
      +                    "value": {
      +                      "anyOf": [
      +                        {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "number"
      +                            },
      +                            {
      +                              "type": "boolean"
      +                            }
      +                          ]
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "label",
      +                    "value"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "summary": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "required": [
      +              "summary",
      +              "completeness",
      +              "reliability",
      +              "observed",
      +              "reviewed",
      +              "missing",
      +              "blockers"
      +            ],
      +            "type": "object"
      +          },
      +          "limitations": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "metrics": {
      +            "properties": {
      +              "conversion_rate": {
      +                "anyOf": [
      +                  {
      +                    "type": "number"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "conversions": {
      +                "anyOf": [
      +                  {
      +                    "type": "number"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "quality_score": {
      +                "anyOf": [
      +                  {
      +                    "type": "number"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "traffic_share": {
      +                "anyOf": [
      +                  {
      +                    "type": "number"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "visitors": {
      +                "anyOf": [
      +                  {
      +                    "type": "number"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "required": [
      +              "visitors",
      +              "conversions",
      +              "conversion_rate",
      +              "traffic_share",
      +              "quality_score"
      +            ],
      +            "type": "object"
      +          },
      +          "next_step": {
      +            "properties": {
      +              "authorization": {
      +                "anyOf": [
      +                  {
      +                    "enum": [
      +                      "authorized",
      +                      "review_required",
      +                      "unavailable"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "recommended_action": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "required_review_steps": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "recommended_action",
      +              "authorization"
      +            ],
      +            "type": "object"
      +          },
      +          "object": {
      +            "const": "decision",
      +            "type": "string"
      +          },
      +          "primary_reason": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "readiness": {
      +            "properties": {
      +              "message": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "state": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "required": [
      +              "state",
      +              "message"
      +            ],
      +            "type": "object"
      +          },
      +          "reasons": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "source": {
      +            "properties": {
      +              "channel": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "id": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "role": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "type": {
      +                "enum": [
      +                  "source",
      +                  "affiliate"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "name",
      +              "type",
      +              "channel",
      +              "role"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "object",
      +          "source",
      +          "decision",
      +          "primary_reason",
      +          "limitations",
      +          "next_step"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "has_more": {
      +      "type": "boolean"
      +    },
      +    "more": {
      +      "description": "How to fetch the next page, when has_more.",
      +      "type": "string"
      +    },
      +    "next_cursor": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "object": {
      +      "const": "list",
      +      "type": "string"
      +    },
      +    "window": {
      +      "properties": {
      +        "end": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "start": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "start",
      +        "end"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "object",
      +    "data",
      +    "has_more",
      +    "next_cursor",
      +    "note",
      +    "window"
      +  ],
      +  "type": "object"
      +}
  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, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully carried structurally. The description adds the result ordering (scale, then hold, then stop), which helps interpret output, but says nothing about pagination behavior, how results relate to the briefing's items, or how many items to expect.

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 no filler, and the scope/ordering constraint is front-loaded before the filtering note. The opening clause is grammatically compressed ('Every source Decision on a site beyond...') and takes a second read.

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?

With 8 optional parameters, an output schema and rich annotations, most of the burden is already carried elsewhere. Still, the description never defines what a 'Decision' is or how this list relates to sibling tools like get_decision, list_signals and list_evidence_gaps, which an agent needs to choose correctly.

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 75%, so the schema already documents site, start, end, limit, cursor and response_format. The description repeats the posture values verbatim rather than adding meaning, but it does add one genuine clarification beyond the schema: that 'affiliate' corresponds to partners. That is useful but thin across 8 parameters.

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 identifies a specific resource (source Decisions on a site) and its ordering (scale, hold, stop), and implicitly scopes it as a superset-complement to the briefing's top items. An agent can distinguish it from onelence_get_briefing and onelence_get_decision, though the phrase 'beyond the briefing's top items' is denser than it needs to be and the verb 'list' is only implied.

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?

'Beyond the briefing's top items' implies when to reach for this rather than the briefing, and 'Filter by posture or by type' hints at narrowing. However, no alternative is named explicitly (e.g. use get_decision for a single decision, list_signals for evidence) and there are no exclusions or prerequisites, so the routing is left to inference.

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.