Skip to main content
Glama

Runledge

Get ROI summary

get_roi_summary
Read-onlyIdempotent

Return actions, hours saved, losses prevented, token usage, spend and net value for a workspace over the last N days.

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "get_roi_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLookback window in days.
workspace_idYesWorkspace id from list_workspaces.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 and openWorldHint=false, so the safety profile is fully covered. The description adds value by naming the exact measures computed (including derived ones like "losses prevented" and "net value"), which is real behavioral information beyond the annotations. However it says nothing about aggregation granularity, currency/units, or how a period boundary is treated, leaving meaningful ambiguity.

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?

A single sentence, front-loaded with the verb and resource, then the metric enumeration. Every element carries information an agent needs and there is no filler or repetition.

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?

This is a read-only analytics call with no output schema, so the description's metric list usefully compensates for the missing return definition. But it never says whether the result is a single summary object or a per-day series, nor what units the spend/net value figures use. Those gaps matter for an agent that must interpret the result.

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%: `days` is documented as the lookback window with a default of 30 and bounds 1-365, and `workspace_id` points at list_workspaces. The description's "for a workspace over the last N days" merely restates those parameters and adds no format or semantics beyond the schema. Baseline 3 applies.

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 pairs the verb "Return" with a specific resource (a workspace's ROI figures) and enumerates the exact metrics: actions, hours saved, losses prevented, token usage, spend, net value. That is far more specific than the title alone and clearly separates it from list/record tools. It does not explicitly contrast with the neighboring get_cost_center_report, so it falls short of a 5.

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 only implied: the metric set makes clear this is for value/ROI reporting over a lookback window. There is no statement of when to prefer it over get_cost_center_report or list_actions, and no prerequisites or exclusions. Adequate for an agent that already knows it wants ROI numbers, but not routing guidance.

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