Skip to main content
Glama

Recent Actions

recent_actions
Read-onlyIdempotent

Codeforces competitive-programming site, the global recent-actions feed, the newest blog entries and comments posted anywhere on Codeforces. Each action returns its timestamp plus the blog entry (title, author handle, rating) or comment text it refers to. Answers what the Codeforces community is posting and discussing right now.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "max_count": 30
    },
    "name": "recent_actions"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_countNo1-100 (default 30)

Output Schema

NameRequiredDescriptionDefault
resultNoArray of recent action objects
statusYesResponse status (OK or FAILED)
commentNoError comment (if status is FAILED)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "max_count": 30
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "comment": {
      +      "description": "Error comment (if status is FAILED)",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "Array of recent action objects",
      +      "items": {
      +        "properties": {
      +          "blogEntryId": {
      +            "description": "Blog entry ID (if applicable)",
      +            "type": "number"
      +          },
      +          "contestId": {
      +            "description": "Contest ID",
      +            "type": "number"
      +          },
      +          "handle": {
      +            "description": "User handle",
      +            "type": "string"
      +          },
      +          "newsTitle": {
      +            "description": "News title or action description",
      +            "type": "string"
      +          },
      +          "rating": {
      +            "description": "User rating",
      +            "type": "number"
      +          },
      +          "ratingUpdateTimeSeconds": {
      +            "description": "Unix timestamp of action",
      +            "type": "number"
      +          },
      +          "text": {
      +            "description": "Action text",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "status": {
      +      "description": "Response status (OK or FAILED)",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds genuinely useful context by specifying what each action carries (timestamp plus blog entry title/author/rating, or comment text), which goes beyond the annotation set.

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?

Short and front-loaded, leading with the site and the resource. The opening clause slightly restates the name/title ('global recent-actions feed') and the site name appears twice, but there is no real bloat.

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 annotations covering the safety profile, an output schema covering return shape, and a fully documented parameter, the description only needs to establish scope and content -- which it does. Nothing critical is missing for correct invocation.

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?

There is a single optional max_count parameter with 100% schema coverage and range plus default documented in the schema itself. The description adds no further parameter meaning, so the baseline of 3 applies.

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 resource and scope: the global, site-wide recent-actions feed of the newest blog entries and comments on Codeforces. An agent can tell this is a site-wide 'what's new' read, distinct from siblings like blog_entry_view or codeforces_user.

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?

The closing line 'Answers what the Codeforces community is posting and discussing right now' gives a clear use case. There is no explicit when-not condition or named alternative, but the 'global / anywhere' scoping implicitly separates it from per-user or per-entry tools.

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.