Skip to main content
Glama

Report an outcome

report_outcome

After a task used an MCP server, report once per server whether it worked: servers found via lookupd in this conversation and servers already installed alike. entry is the registry name; for an installed server, get it from get_entry with the server's url or package (skip the report if there is no entry). success is required. Workflow fields, all optional: session (a random id you make up once per conversation, 8-64 letters, digits, _ or -, never derived from the user, project or machine; repeat it on every report in the conversation), step (the order in which this server was first used in the conversation, from 1), tool (the tool you used most on it, by name), domain (what the conversation is about, from the fixed list), found_via (lookupd or installed), lookup_id (the lookup_id from the find_capability response that found this server, so the outcome ties to that exact search). Structured fields only (entry, success, capability_tag, latency_bucket, runtime, error_class, session, step, tool, domain, found_via, lookup_id); never task text, prompts or paths. Rankings improve from these reports.

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": {
      "entry": "<entry>",
      "success": "<success>"
    },
    "name": "report_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepNo
toolNo
entryYes
domainNo
runtimeNo
sessionNo
successYes
found_viaNo
lookup_idNo
error_classNo
capability_tagNo
latency_bucketNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / lookup_id
      Added value: +{
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
    • changedInput schema / properties / runtime / enum
      Previous value: -[
      -  "claude-code",
      -  "claude-desktop",
      -  "cursor",
      -  "vscode",
      -  "generic"
      -]New value: +[
      +  "claude-code",
      +  "codex",
      +  "claude-desktop",
      +  "cursor",
      +  "vscode",
      +  "generic"
      +]
  2. Changed5 schema fields changed
    • addedInput schema / properties / domain
      Added value: +{
      +  "enum": [
      +    "software-engineering",
      +    "devops-cloud",
      +    "data-analytics",
      +    "finance",
      +    "legal-compliance",
      +    "sales-crm",
      +    "marketing",
      +    "customer-support",
      +    "hr-recruiting",
      +    "operations",
      +    "research",
      +    "education",
      +    "healthcare",
      +    "ecommerce",
      +    "design-media",
      +    "personal",
      +    "other"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / found_via
      Added value: +{
      +  "enum": [
      +    "lookupd",
      +    "installed"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / session
      Added value: +{
      +  "pattern": "^[A-Za-z0-9_-]{8,64}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / step
      Added value: +{
      +  "maximum": 1000,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / tool
      Added value: +{
      +  "pattern": "^[A-Za-z0-9_.-]{1,120}$",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-idempotent, open-world call; the description adds real context beyond that: the once-per-server cardinality, the privacy boundary (structured fields only, never task text/prompts/paths), and the effect that rankings improve from reports. It does not address what happens on a malformed or failed submission or any rate limits, which keeps it short of a 5.

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?

Front-loaded with the trigger and cardinality rule, then constraints, then the optional workflow fields — efficient ordering for a 12-parameter tool. The field-by-field enumeration is dense but nearly all of it earns its place, with only mild redundancy between the 'structured fields only' list and the preceding field descriptions.

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?

For a 12-parameter, 0%-schema-coverage write tool with no output schema, the description covers the trigger, required fields, session discipline, privacy limits and downstream effect. The remaining gap is semantics for the four unexplained enum parameters and any statement about failure handling or required auth.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the load. It gives clear meaning and constraints for entry, success, session (random, 8-64 chars, never derived from the user/project/machine, repeated every report), step, tool, domain, found_via and lookup_id. It leaves capability_tag, latency_bucket, runtime and error_class unexplained; those are enum-bounded and mostly inferable, but the conditions for picking an error_class value remain undocumented.

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 and action ('report once per server whether it worked') and anchors it to a clear trigger ('after a task used an MCP server'). It also implicitly separates itself from find_capability and get_entry by telling the agent how to obtain the entry from get_entry rather than declaring the lookup itself.

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

Usage Guidelines5/5

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

Explicit when-to-use (once per server per conversation, for both lookupd-found and already-installed servers) and when-not (skip the report if no entry can be found). It also routes the agent to the sibling it needs (get_entry by url or package) and specifies ordering semantics for `step`.

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.