Skip to main content
Glama

review_project

Approve or deny a pending project so only vetted listings reach freelancers. Records the decision reason in the audit log for compliance.

Instructions

[ADMIN] Approve or deny a PENDING project. Only approved projects are visible to freelancers.

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": {
      "project_id": "<project_id>",
      "decision": "<decision>",
      "reason": "<reason>"
    },
    "name": "review_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy, in one sentence. ErgoHub requires it and keeps it in the audit log.
decisionYesapprove publishes it to freelancers; deny rejects it.
project_idYesProject id.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-destructive, closed-world mutation. The description adds real value by disclosing the consequence of approval (publication to freelancers) and the PENDING-only guard. However, it says nothing about reversibility, permission requirements at the admin level, or what happens when the precondition fails.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with zero filler; the admin tag and the state constraint are front-loaded before the consequence. Every clause carries information an agent needs.

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 three-required-parameter admin mutation with an output schema and full annotation coverage, this covers audience, precondition, and effect. The only omission is failure behavior on a non-pending or already-reviewed project.

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% and the enum for decision is fully described in the schema, so the baseline is 3. The description only indirectly touches project_id via 'PENDING project' and adds nothing about the required reason field, which the schema already explains.

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?

Names a specific verb pair (approve/deny) and resource (project), and pins the state constraint to PENDING projects. The effect sentence ('Only approved projects are visible to freelancers') makes it clearly distinct from submission-side siblings like apply_to_project or post_project.

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 '[ADMIN]' tag and the PENDING precondition give clear context for when the tool applies. It stops short of explicit exclusions (e.g., what to do if the project is not pending, or how it differs from review_counterpart), so it does not reach a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.