Skip to main content
Glama

Get drift scores

get_scores
Read-only

Current drift score per agent under the key: 0-39 deviating, 40-69 watch, 70-100 normal; status 'learning' until the baseline freezes (30 runs over at least 3 days). 'feedback' lists alerts to ask your human about (share answer_url, never answer it yourself).

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

Input Schema

NameRequiredDescriptionDefault
keyNoScoring key; omit when sent as x-kyde-key header.

Output Schema

NameRequiredDescriptionDefault
agentsYes
claimedYes
webhookYes
degradedNoPresent only when records were dropped today (quota/limits).
feedbackNoAlerts KYDE Score would like the human's verdict on. Ask your human in one sentence whether the alert was right and share answer_url. Never open or answer the link yourself: only the human's click counts.
method_versionYes
service_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / agents / items / properties / display_name
      Added value: +{
      +  "description": "How humans see this agent; null until described (describe_agent).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / agents / items / properties / measured
      Added value: +{
      +  "description": "What Kyde saw it do, from its tool mix (\"Seen: reads files, runs shell commands\").",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / agents / items / properties / purpose
      Added value: +{
      +  "description": "One sentence: what this agent is for.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / agents / items / properties / contract
      Added value: +{
      +  "description": "The declared contract's seal triple (never a bare hash, D-069): status proposed or confirmed, hash, schema_version, confirmed_at. Absent when no contract was ever proposed.",
      +  "type": "object"
      +}
    • changedOutput schema / properties / agents / items / properties / notices / description
      Previous value: -"Present when something needs the human's attention beyond the score: the active announced change (announce_change) with what shifted since and the rebaseline call that accepts the new baseline, and — while an agent is still learning with no real alarm — a sample_alarm with sample: true showing what an alarm will look like, and an alert_held notice when the free plan's one instant alert mail of the month is used up (the alerts then wait for the weekly review; tell your human one is waiting). NEVER relay a sample as a real alarm; real ones carry an alarm_id."New value: +"Present when something needs the human's attention beyond the score: the active announced change (announce_change) with what shifted since and the rebaseline call that accepts the new baseline, and — while an agent is still learning with no real alarm — a sample_alarm with sample: true showing what an alarm will look like, and an alert_held notice when the free plan's one instant alert mail of the month is used up (the alerts then wait for the weekly review; tell your human one is waiting), a contract_proposed notice while a proposed contract awaits the human, and an action_held notice when a call was held before execution (tell your human; retry only after approval). NEVER relay a sample as a real alarm; real ones carry an alarm_id."
  3. Changed1 schema field changed
    • changedOutput schema / properties / agents / items / properties / notices / description
      Previous value: -"Present when something needs the human's attention beyond the score: the active announced change (announce_change) with what shifted since and the rebaseline call that accepts the new baseline, and — while an agent is still learning with no real alarm — a sample_alarm with sample: true showing what an alarm will look like. NEVER relay a sample as a real alarm; real ones carry an alarm_id."New value: +"Present when something needs the human's attention beyond the score: the active announced change (announce_change) with what shifted since and the rebaseline call that accepts the new baseline, and — while an agent is still learning with no real alarm — a sample_alarm with sample: true showing what an alarm will look like, and an alert_held notice when the free plan's one instant alert mail of the month is used up (the alerts then wait for the weekly review; tell your human one is waiting). NEVER relay a sample as a real alarm; real ones carry an alarm_id."
  4. Changed4 schema fields changed
    • addedOutput schema / properties / agents / items / properties / model
      Added value: +{
      +  "description": "The model the agent currently runs on (majority of its last runs).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / agents / items / properties / model_changes
      Added value: +{
      +  "description": "Detected model switches, newest first.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / agents / items / properties / notices / description
      Previous value: -"Present when something needs the human's attention beyond the score — today the active announced change (announce_change), with what shifted since and the rebaseline call that accepts the new baseline."New value: +"Present when something needs the human's attention beyond the score: the active announced change (announce_change) with what shifted since and the rebaseline call that accepts the new baseline, and — while an agent is still learning with no real alarm — a sample_alarm with sample: true showing what an alarm will look like. NEVER relay a sample as a real alarm; real ones carry an alarm_id."
    • addedOutput schema / properties / agents / items / properties / reason
      Added value: +{
      +  "description": "The alarm reason line while watch/deviating: one plain sentence, what to do, how sure.",
      +  "properties": {
      +    "action": {
      +      "type": "string"
      +    },
      +    "certainty": {
      +      "enum": [
      +        "sure",
      +        "hint"
      +      ],
      +      "type": "string"
      +    },
      +    "kind": {
      +      "type": "string"
      +    },
      +    "reason": {
      +      "type": "string"
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  5. Changed2 schema fields changed
    • addedOutput schema / properties / agents / items / properties / notices
      Added value: +{
      +  "description": "Present when something needs the human's attention beyond the score — today the active announced change (announce_change), with what shifted since and the rebaseline call that accepts the new baseline.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / agents / items / properties / proposed_action
      Added value: +{
      +  "description": "Present only while the agent is deviating: the one-click way back if the change was intended (rebaseline with kind and reason).",
      +  "type": "object"
      +}
  6. Changed5 schema fields changed
    • addedOutput schema / properties / agents / items / properties / calls
      Added value: +{
      +  "description": "Stored tool calls, also while learning.",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / agents / items / properties / error_rate
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / agents / items / properties / last_seen_at
      Added value: +{
      +  "description": "When the newest call arrived (UTC).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / agents / items / properties / median_duration_ms
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / agents / items / properties / tool_mix
      Added value: +{
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  7. Changed1 schema field changed
    • addedOutput schema / properties / agents / items / properties / warnings
      Added value: +{
      +  "description": "Setup problems with this agent's name, e.g. a harness default name or several agents sharing one service.name. Fix them, or the baseline blurs; relay them to your human.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  8. Changed1 schema field changed
    • addedOutput schema / properties / feedback
      Added value: +{
      +  "description": "Alerts KYDE Score would like the human's verdict on. Ask your human in one sentence whether the alert was right and share answer_url. Never open or answer the link yourself: only the human's click counts.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  9. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "agents": {
      +      "items": {
      +        "properties": {
      +          "alarms": {
      +            "items": {
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "alarms_total": {
      +            "type": "integer"
      +          },
      +          "band": {
      +            "description": "deviating (0-39) | watch (40-69) | normal (70-100); null while learning.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "baseline_fingerprint": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "method_version": {
      +            "type": "string"
      +          },
      +          "n_baseline_records": {
      +            "type": "integer"
      +          },
      +          "n_live_records": {
      +            "type": "integer"
      +          },
      +          "rebaselined_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "runs_needed": {
      +            "type": "integer"
      +          },
      +          "runs_seen": {
      +            "type": "integer"
      +          },
      +          "score": {
      +            "description": "0-100; null while learning.",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "service_name": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "enum": [
      +              "learning",
      +              "scored"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "service_name",
      +          "status",
      +          "score",
      +          "band",
      +          "runs_seen",
      +          "runs_needed",
      +          "method_version"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "claimed": {
      +      "type": "boolean"
      +    },
      +    "degraded": {
      +      "description": "Present only when records were dropped today (quota/limits).",
      +      "properties": {
      +        "dropped_today": {
      +          "type": "integer"
      +        },
      +        "reason": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "method_version": {
      +      "type": "string"
      +    },
      +    "service_version": {
      +      "type": "string"
      +    },
      +    "webhook": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "service_version",
      +    "method_version",
      +    "claimed",
      +    "agents",
      +    "webhook"
      +  ],
      +  "type": "object"
      +}
  10. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only cover readOnlyHint and openWorldHint, so the description adds substantial value: score band thresholds, the 'learning' state and its exact freeze condition (30 runs over at least 3 days), and a safety rule against answering feedback alerts directly. It stops short of describing pagination or behavior when a key has no runs.

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?

The core purpose is front-loaded and the remaining sentences each carry distinct information (band thresholds, learning condition, feedback handling). It is dense but not padded, though the single run-on paragraph could be broken up for readability.

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?

With an output schema present, return values needn't be spelled out, yet the description still explains the two interpretive pieces an agent would otherwise misread: score bands and the 'learning' status. Minor gaps remain around error/empty states and multi-agent scoping.

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% for the single 'key' parameter, including the header-alternative note, so the schema does the heavy lifting. The description's phrase 'under the key' merely restates the parameter's role without adding new semantics.

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 states a specific resource and scope: 'Current drift score per agent under the key,' and immediately explains what the returned numbers mean. It is clear what the tool retrieves, though it never names a sibling (e.g., rebaseline or describe_agent) to distinguish itself from.

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?

It gives concrete handling guidance for the 'feedback' section (share answer_url with a human, never answer it yourself), which is actionable. However, there is no guidance on when to call this versus related tools, nor on how often to poll or what to do with a 'learning' status.

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