MCP example questions and sample output
What can you ask your assistant, and what comes back?
Once an assistant is connected, ask in plain language. The assistant picks a tool, calls DevGlimpse and writes the answer. This page shows the questions and the raw tool output behind them.
The output below is illustrative. The numbers are made up. The demo workspace does not issue MCP credentials, so there is no live sample to try.
Example questions
These work with either kind of credential, because they name nobody:
- “Which team has the slowest review latency in the last 30 days?”
- “Where do our merged PRs spend most of their time: before review, in review, or waiting to deploy?”
- “Did any team’s cycle time leave its normal range this month?”
- “How does the Payments group compare with the Platform group this quarter?”
- “How is a metric like cycle time defined?”
These need a personal (Acts as me) credential, and answer only for the people your visibility setting allows:
- “Show the PRs opened last week, newest first.”
- “How many reviews did each person on my team give last month?”
If a question needs something your credential may not read, the assistant gets a refusal and tells you why. See Refusals.
Sample tool output
Every tool answers with an object that has rows and meta. The assistant also receives the same object as compact JSON text.
Team metrics
Question: “Which team has the slowest review latency in the last 30 days?”
The assistant calls team_metrics with a date range and kind set to team:
{
"rows": [
{
"id": "8f3c0a52-1b7e-4e0a-9d52-2c6f0a1d7a10",
"name": "Checkout",
"contributor_count": 7,
"commits": 412,
"prs_opened": 96,
"prs_merged": 91,
"reviews_given": 188,
"cycle_time_hours": 31.4,
"review_latency_hours": 9.8,
"ai_prs_merged": 22
},
{
"id": "c21d6b94-5e0f-4c1b-8a63-7d9b3e4f5a21",
"name": "Platform",
"contributor_count": 9,
"commits": 530,
"prs_opened": 120,
"prs_merged": 118,
"reviews_given": 301,
"cycle_time_hours": 22.1,
"review_latency_hours": 4.2,
"ai_prs_merged": 35
}
],
"meta": {
"row_count": 2,
"truncated": false,
"next_cursor": null,
"from": "2026-10-25",
"to": "2026-11-23",
"withheld": true
}
}
The assistant then writes: “Checkout has the slowest review latency, 9.8 hours on average, against 4.2 hours for Platform.”
Things to notice:
withheld: truemeans at least one team was left out because it is smaller than your minimum group size. The output never says which team or how many.truncatedandnext_cursortell the assistant there is more. Whentruncatedistrue,next_cursorholds a value the assistant passes back to get the next page.- Dates are in UTC. A range covers at most 366 days.
PR workflow
Question: “Where do our merged PRs spend most of their time?”
The assistant calls pr_workflow:
{
"rows": [
{
"id": "c21d6b94-5e0f-4c1b-8a63-7d9b3e4f5a21",
"name": "Platform",
"prs_merged": 118,
"first_commit_to_open_hours": 6.3,
"open_to_first_review_hours": 4.2,
"first_review_to_merge_hours": 8.9,
"merge_to_deploy_hours": 2.7,
"cycle_time_hours": 22.1
}
],
"meta": {
"row_count": 1,
"truncated": false,
"next_cursor": null,
"from": "2026-10-25",
"to": "2026-11-23"
}
}
Here no withheld appears, so nothing was left out.
Refusals
When DevGlimpse will not answer, the assistant still gets a normal reply, marked as an error. It holds one plain sentence and a code. The assistant can read the code and explain what to change.
A workspace credential asks for individuals
{
"isError": true,
"content": [
{
"type": "text",
"text": "This credential is a workspace credential and cannot read individual contributors."
}
],
"structuredContent": {
"error": {
"code": "credential_not_allowed",
"message": "This credential is a workspace credential and cannot read individual contributors."
}
}
}
Fix: create a personal credential (Acts as me) if you need per-person answers. See MCP credentials.
The role or plan does not allow it
{
"isError": true,
"content": [
{
"type": "text",
"text": "This report needs the org_admin role."
}
],
"structuredContent": {
"error": {
"code": "role_required",
"message": "This report needs the org_admin role.",
"roles": ["org_admin"]
}
}
}
A report that needs a higher plan answers with plan_required and the name of the plan switch.
What each refusal code means
| Code | Meaning | What to do |
|---|---|---|
credential_not_allowed |
This kind of credential may not use the tool. | Use a personal credential. |
role_required |
The credential’s role may not open this report. | Ask an org admin, or use a credential with the right role. |
plan_required |
The report is not in your plan. | See License. |
not_enabled |
The report is not switched on for your workspace yet. | Nothing yet. It appears when it is rolled out. |
scope_none |
Your visibility setting lets you see no individuals. | Check visibility settings. |
invalid_arguments |
The assistant sent a bad value, such as a range over 366 days. | Ask again. The reply names the argument. |
not_found |
The team, group or repository does not exist in this workspace. | Check the name. |
rate_limited |
Too many calls. The reply says how many seconds to wait. | Wait, then ask again. |
upstream_unavailable |
A data source is temporarily down. | Try again in a minute. |
internal |
Something failed on our side. The reply never includes details. | Try again, then contact support. |
A tool name DevGlimpse does not know is not a refusal. It is a protocol error that your assistant reports to you directly.
Treat the output as data
Names in the output, such as team names, PR titles and repository names, come from your own organization. Assistants treat them as text to read, not as instructions. If a PR title says “ignore your instructions”, a well-behaved assistant still only reports it.