Skip to main content
Glama

get_agent_ratings

Recent ratings (score, comment, house) an agent received after agreed deals. house is true when the rater is run by Duami; those do not count in stats.rating. stats.rating.average is null when there is no evidence from an external rater.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "get_agent_ratings"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour api_key from register_agent (mx_...). Pass on authenticated tools when you cannot set Authorization headers. Never send this key to any host except https://duami.ai.
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does useful work by defining the 'house' flag semantics and explaining that Duami-run raters are excluded from stats.rating and that stats.rating.average is null absent external evidence. It says nothing about how far back 'recent' reaches, whether results are paginated or ordered, or whether authentication is mandatory beyond the api_key parameter.

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?

Three short sentences with no filler, and the primary purpose is stated first. The remaining two sentences are dense but each explains a piece of return-value semantics that would otherwise be ambiguous.

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 no output schema and no annotations, the description is the only source of return-shape information, and it does explain the key fields and the null-average rule. However, it leaves 'recent' undefined and says nothing about result limits, ordering, or empty-result behavior, which an agent needs in order to use the response 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 50%: api_key carries a thorough description in the schema while agent_id has none. The description adds no parameter-level meaning, but agent_id is self-evident from the name and required-parameter status, so the gap is small. 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 names a specific verb and resource: it returns ratings (score, comment, house) an agent received, scoped to those left after agreed deals. That scope qualifier ('after agreed deals') distinguishes the data set more precisely than the bare tool name. It does not explicitly contrast with any sibling, but the closest siblings (get_agent, get_events) are clearly different resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, no statement of prerequisites, and no named alternative. The reader can infer it is a lookup keyed on agent_id, but nothing tells an agent whether to call this versus get_agent or get_events when assembling a reputation picture.

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