Skip to main content
Glama

Get Segment Rates

get_segment_rates
Read-only

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channelNo'linkedin' or 'email' to bound the population; omit for both.
measureNo'accepted', 'replied', 'interested', or 'meeting'.replied
sendersNoIn a shared workspace, the teammate emails whose prospects to score (a group's `senders`). Omit to score every teammate. Any email not in the workspace is dropped; if that leaves no valid teammate, the result is empty — it does NOT fall back to the whole workspace.
group_idYesThe segment group to score (from list_segment_groups).
agent_idsNoScope to one or more campaigns (agent_tasks ids from a group's `campaigns`); omit for all campaigns.
on_behalf_ofNoAn agency client's email, from list_agency_clients, to run this call in that client's account: their agents, settings, connected accounts, and credits. Omit it to act on your own account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / channel / anyOf
      Previous value: -[
      -  {
      -    "description": "The outreach channel a query is bounded to; None means both.",
      -    "enum": [
      -      "linkedin",
      -      "email"
      -    ],
      -    "title": "Channel",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "An outreach channel.",
      +    "enum": [
      +      "linkedin",
      +      "email"
      +    ],
      +    "title": "Channel",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / on_behalf_of
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "An agency client's email, from list_agency_clients, to run this call in that client's account: their agents, settings, connected accounts, and credits. Omit it to act on your own account."
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / agent_ids
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "integer"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Scope to one or more campaigns (agent_tasks ids from a group's `campaigns`); omit\nfor all campaigns."
      +}
    • addedInput schema / properties / senders
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "In a shared workspace, the teammate emails whose prospects to score (a group's\n`senders`). Omit to score every teammate. Any email not in the workspace is dropped; if\nthat leaves no valid teammate, the result is empty — it does NOT fall back to the whole\nworkspace."
      +}
    • removedInput schema / properties / task_ids
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "type": "integer"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Scope to one or more campaigns (agent_tasks ids from a group's `campaigns`); omit\nfor all campaigns."
      -}
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint, and the description adds substantial behavioral context beyond that: the unit of scoring (one data point per prospect-channel, one per prospect when several team members reach the same person), the synthetic 'No match' row appended when anyone is unclassified, and the confidence thresholds behind `signal` ('thin' <10, 'early' <30, else 'solid'). This is exactly the kind of context annotations cannot carry.

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?

Reasonably front-loaded: the summary opens with the verb and resource, the scoring model follows, and return shape is separated into a returns block. It is long but most sentences carry unique information; a couple of illustrative examples could be trimmed.

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

Completeness5/5

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

No output schema exists, yet the returns block fully describes the return dict (group_id, group_name, mode, measure, tags and their fields), explains k/n semantics, and clarifies signal. Nothing an agent needs to interpret or call the tool correctly is missing.

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 coverage is 100%, so parameters are already documented in the schema (including the senders no-fallback rule and channel enum). The description restates agent_ids scoping and the group's campaigns list but adds no syntax or format detail for measure, channel, senders, or on_behalf_of. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (per-tag outreach outcome rate for a measure over a segment group's classified people) with concrete use cases ('which seniority replies most'). The scoring model described (one data point per prospect-channel) makes it clearly distinguishable from siblings like get_message_tag_rates and get_segment_funnel.

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?

Gives clear usage context: pass agent_ids to scope to campaigns, use list_segment_groups to find a group's campaigns, and query_segment_people(untagged=true) to list the 'No match' people. It does not explicitly contrast itself with the similarly named sibling rate/funnel tools, so the when-to-use-this-vs-that guidance is implicit rather than explicit.

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