Skip to main content
Glama

Put runs on the runner's week

ourpr_plan_week

Write one planned run, or a week of them, onto days still ahead. Each lands on the runner's week as a plan they can see, edit and remove. A run can name a saved route by its id from ourpr_list_routes. Needs a token made with the write scope and ourpr. create. Never logs a run.

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": {
      "plans": "<plans>"
    },
    "name": "ourpr_plan_week"
  }
}

Input Schema

NameRequiredDescriptionDefault
plansYesOne run, or up to fourteen.

Output Schema

NameRequiredDescriptionDefault
writtenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / plans / items / properties / route_id
      Added value: +{
      +  "description": "A saved route to run, from ourpr_list_routes.",
      +  "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"
      +}
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / plans / items / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / written / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  3. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, open-world. The description adds real value beyond them: the required write scope, the fact that entries become visible/editable/removable plans, and the explicit "never logs a run" guarantee. It omits the non-idempotency consequence (repeating a call likely creates duplicate planned runs) and any failure behavior for past dates.

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?

Four short sentences with the action and scope front-loaded, then effects, then prerequisites, then the key exclusion. Minor waste in the odd "ourpr. create" phrasing and slight redundancy between "days still ahead" and "never logs a run."

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, a rich 100%-covered input schema, and an output schema, the description covers what an agent still needs: auth scope, mutation effect, future-date scope, and route id sourcing. The remaining gap is duplicate-creation behavior for a non-idempotent write, which an agent would want to know before retrying.

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 100% and every nested field (date, miles, minutes, tag, is_long, route_id, note, name) is already documented in the schema. The description only echoes the batch bound ("a week of them" vs maxItems 14) and the route_id source, which the schema already states. Baseline 3 is appropriate.

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?

"Write one planned run, or a week of them, onto days still ahead" gives a specific verb (write/plan) and resource (planned runs) plus a scope constraint (future days, batch up to a week). "Never logs a run" further separates it from run-recording tools. It does not explicitly contrast with the sibling that reads plans (ourpr_list_plans), so it stops just short of full sibling differentiation.

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?

It states the operating context (future days only), the batch capability, and routes the agent to ourpr_list_routes when it needs a route id. Auth prerequisites (write scope token, ourpr.create) are spelled out. It never says when NOT to use it, e.g. versus viewing or editing an existing plan.

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